Hi,
Whenever a TreeGrid gets one of its nodes collapsed, any selections on nodes located below
the node being collapsed, are lost (cleared).
Is there any way to preserve selections, even when a node gets collapsed.
Using the feature explorer, you can see the behavior we are describing using the following
slightly modified code:
http://www.smartclient.com/index.jsp#nodeTitles
Thanking you in advance for your help.
Regards,
Whenever a TreeGrid gets one of its nodes collapsed, any selections on nodes located below
the node being collapsed, are lost (cleared).
Is there any way to preserve selections, even when a node gets collapsed.
Using the feature explorer, you can see the behavior we are describing using the following
slightly modified code:
http://www.smartclient.com/index.jsp#nodeTitles
Code:
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
autoFetchData:true,
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
selectionType : "single",
selectionAppearance : "checkbox",
fields: [
{name: "Name", treeField: true, formatCellValue: "record.Job+': '+value"}
]
});
Regards,
Comment