AD
Administrator
Syncfusion Team
March 25, 2005 01:43 AM UTC
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.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16065