Hi,
I've defined a TreeGrid (using a ResultTree if that matters?) with the following code:
Initially, the tree is setup using single selection, by issuing a treeGrid.setSelectionType('single') API call.
Later, I dynamically call treeGrid.setSelectionType('multiple'), but when I do so the user can no longer
select/unselect the check boxes from any of the tree items ... If I call treeGrid.setSelectionType('single')
again, the user can then select tree items again ...
I get this behavior using version 8 nightly build from July 7th, using FF 3.6.6.
I've searched but didn't find anything ... Any idea what I'm doing wrong?
I've defined a TreeGrid (using a ResultTree if that matters?) with the following code:
Code:
var treeGrid = TreeGrid.create ({ dataSource : myDataSource, isFolderProperty : 'isFolder', selectionProperty : 'isSelected', nodeIcon : 'node.png', folderIcon : 'folder.png', selectionAppearance : 'checkbox', leaveScrollbarGap : false, layoutMargin : 0, width : '100%', height : '100%', layoutMargin : 0, membersMargin : 0, visibility : 'hidden', data : myResultTree, fields : [ { name : 'caption', treeField : true } ] }); if (isSingleSelect) treeGrid.setSelectionType('single');
Later, I dynamically call treeGrid.setSelectionType('multiple'), but when I do so the user can no longer
select/unselect the check boxes from any of the tree items ... If I call treeGrid.setSelectionType('single')
again, the user can then select tree items again ...
I get this behavior using version 8 nightly build from July 7th, using FF 3.6.6.
I've searched but didn't find anything ... Any idea what I'm doing wrong?
Comment