I''m using GridDataBoundGrid bound to a custom collection. I''m displaying a hierarchical grid. What do I need to do to ensure that when a row is expanded any new child rows for that row are displayed on the grid?
Currently I have to collapse and expand the parent row before the new child rows are displayed.
ADAdministrator Syncfusion Team January 20, 2005 07:40 AM UTC
The only solution we have for this is to close and re-open the node from code. You can use grid.BeginUpdate/grid.EndUpdate to prevent the flash that would normally be seen when you close and open a node.
Here are several forum thread on inserting/deleting an dgenerally working with child grids. The sample links in the threads are broken, but the new links are give below.
For the link in http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=7027, use
For the link in http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9290, use
For the link in http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=13894, use
OFoferJanuary 26, 2006 08:05 AM UTC
i''m having the same problem and i''ve noticed that calling BeginUpdate/EndUpdate doesn''t help me becuase when calling CollpaseAtRowIndex, you are calling (i looked in syncfusion source) also BeginUpdate/EndUpdate thus causing the grid to refresh (i looked in GridModelDataBinder.CollapseRecord).
how can i overcome this problem?
STstanleyj Syncfusion Team January 26, 2006 12:32 PM UTC