Just a quick question. I am working with a hierarchical GDBG and in the RowSaved event I issued an AcceptChanges on the datasource. This caused the grid to collapse. Why and how can I make it not collapse?
ADAdministrator Syncfusion Team March 24, 2005 08:43 PM
AcceptChanges causes a ListChanged event to be raised on the data source with ListChangedType.Reset. It is in response to this reset that the grid collapses. There are no property setting that will avoid this.
You can save the expand state prior to the DataTable.AcceptChanges and then reset it afterwards. You can also freeze the painting to avoid seeing a flash. Here is a forum thread that discusses using this technique to save the expand state before and reset it after a sort.