alternative n_n selector/ui
- Single Page
Posted 23 January 2012 - 22:49 PM
Is this tool that is used a plugin for the jquery datatables set, or some other public thing that I can easily swap out, or is it a groceryCRUD homebrew tool?
Thanks!
Posted 23 January 2012 - 23:02 PM
Posted 24 January 2012 - 00:16 AM
$crud->set_relation_n_n('Groups', 'EmployeeCategoriesIDX', 'Categories', 'EmpID', 'Cat_ID', 'Category');
I see nothing different in my update form, the ui still pulls the jquery UI Multiselect that was in the previous versions?
Posted 24 January 2012 - 07:20 AM
$crud->set_relation_n_n('Groups', 'EmployeeCategoriesIDX', 'Categories', 'EmpID', 'Cat_ID', 'Category');
is absolutely right. Did you update all the files or just the library? You have to replace all the files to your project to actually update grocery CRUD. When everything goes well you have to see this:
[attachment=22:2012-01-24_071704.png]
when you have a relation n_n without the priority field (same as your example).
Posted 02 February 2012 - 15:17 PM
I think that plug-in Check Box Tree is best for Grocery Croud.
With Check Box Tree you can see and select the categories and subcategories:
http://code.google.com/p/checkboxtree/
http://checkboxtree.googlecode.com/svn/tags/checkboxtree-0.5.2/index.html
or
http://www.jqwidgets.com/jquery-widgets-demo/#demos/jqxtree/checkboxes.htm
jqxTree -> Checkboxes
or
http://crepitus.com/misc/ext/tree.html
or
http://www.redcarrot.co.uk/blog/entry/collapsible-checkbox-tree-jquery-plugin/
http://www.web-delicious.com/jquery-plugins-demo/wdTree/docs/index.htm
Thank a lot for Grocery Croud
Posted 02 February 2012 - 19:54 PM
Now I am doing the datetime to be well formated (and not the yyyy-mm-dd!!!) and the new uploader that will work in all browsers. The new version 1.2 will be pretty intresting as I changed also the form interface a bit
Thanks for the links
Posted 02 July 2017 - 17:39 PM
Has anything ever happened with this project? I am in need of a n-to-n interface that allows for nested categories.
Posted 08 May 2018 - 13:15 PM
Ping? Could still really use this capability. Most of the links above are outdated, but the last one goes, essentially, here:
http://www.web-delicious.com/jquery-plugins/index.html
The "JQuery Checkbox Tree Plugin" would be perfect.