Announcement
Collapse
No announcement yet.
X
-
That grey area is the icon column standard for Menus. You can get rid of it via the AutoChild system: PickTreeItem has an AutoChild button which is a TreeMenuButton, which has an AutoChild treeMenu which is a Menu instance - set fields on that.
Menus can support a multi-select interface - we do this within the framework for selecting visible fields in the ListGrid header drop-down by showing an additional menu column with checkmarks. But that would take some fairly deep customization of AutoChildren, and might best be done by starting with your own CanvasItem so you are in charge of all of the construction of the TreeMenuButton and Menu.
A much simpler and immediate way to get a multi-select tree is just to use a SelectItem in tree mode - add multiple:true to that sample and you've got a multi-select tree that is arguably better than hierarchical menus.
-
Originally posted by Isomorphic View PostA much simpler and immediate way to get a multi-select tree is just to use a SelectItem in tree mode - add multiple:true to that sample and you've got a multi-select tree that is arguably better than hierarchical menus.
I would like to show a tree with options like these (each nested property needs to be selectable):
Code:Brand X Y Z Color Red Green Blue
Comment
-
The example provided, uses remote data. I know I can create a data source with local (client-only) data, but in my case I need to change that data dynamically, based on the value of other form fields. Can I create a SelectItem with option multiple set to true, having a client-only data source with initially no data and set that data later?
Comment
Comment