This support forum belongs to the Query Builder Gallery Module.
Query Builder has a bug tracker here: http://github.com/jafl/yui-modules/issues
| Page 1 of 1 | [ 2 posts ] |
|
Hi all
John, thank you for this great plugin! As a complete YUI3 newbie I seem to struggle a bit - and I think what Im trying to achieve is dead simple Assuming I have the var_list and ops from this example http://jafl.github.com/yui3-gallery/querybuilder/. How can I initialize the QB with these values: Query row 0 : Url, is , "http://jafl.github.com/yui3-gallery/yuidoc/QueryBuilder.html" Query row 1: Click-through rate (%), < Less than, 20 Such that the QB looks like this a initial load: ![]() |
|
Sorry for not finding this post sooner!
After creating the widget, call appendNew(name, value), where name is the name of the variable, and value depends on the plugin type. I have updated the API docs to explain this more clearly. In your case, to get the screenshot: query.appendNew('ctr', [ 'equal', 20 ]); query.appendNew('url', [ 'equal', 'http://jafl.github.com/yui3-gallery/yuidoc/QueryBuilder.html' ]); |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group