I have a tree that we want to use checkbox selection for consistency with other multi select interfaces. However, selection is only possible at the top level, sub level items are not selectable. This ends up causing large spaces when rendered. Is there a way to alleviate this issue? Screen shot provided.
Announcement
Collapse
No announcement yet.
X
-
Checkbox selection is supported for TreeGrids, with the exception of some edge cases like attempting to perform cascading selection with load-on-demand trees (where clearly we would have to perform server-side operations in order to maintain consistency).
If you can show us a test case (and version info) which reproduces this problem we will take a look.
-
Never mind - we revisited this issue and realized you must be referring to a TreeGrid with some non-selectable nodes (canSelect set to false).
We have introduced a new property treeGrid.leaveSelectionCheckboxGap which governs whether or not we write a spacer out for non-selectable nodes in a tree when checkbox selection appearance is turned on. This will be present in the next nightly build (dated Nov 9 or greater).
You can alternatively use the existing treeGrid.showDisabledSelectionCheckbox flag to show a disabled checkbox icon for non-selectable nodes.
Regards
Isomorphic Software
Comment
-
Not sure why this would have been missing on the builds you tried. It certainly seems to be present in the latest nightly: http://www.smartclient.com/smartgwte....lang.Boolean)
If you still aren't seeing it in the most recent nightly build - please confirm which branch / exact version you're checking against.
Thanks
Isomorphic Software
Comment
Comment