GDBG Hierarchical

Hi, 1.When a user expands one level howto collapse all the other previous expanded except its hierarchy. 2. How to ScrollInView the lower levels. Regards stefan

1 Reply

AD Administrator Syncfusion Team October 26, 2005 11:34 AM UTC

1) You will have to code this. You can try catching RowExpanded and then close open node on teh same level. If this is done consistently, I think think will make sure at most one tree branch is open at the time. 2) You can use grid.CurrentCell.MoveTo with the ScrollInView paramater set. Here is a little sample showing both items. Note if you click the button to expand all, this will turn off the single branch support in this sample. http://www.syncfusion.com/Support/user/uploads/GDBG_Hier_cdf7028e.zip

Loader.
Up arrow icon