AD
Administrator
Syncfusion Team
June 16, 2004 06:11 PM UTC
In a Expand-type grid, you will not be able to use DeleteAtRowIndex to delete arbitrary rows.
It is easier to work directly with the CurrencyManager. From the grid row index, you can get the GridBoundRecordState of the row. From the recordstate, you can get the currencymanager and the position in the list. From there, you can use currencyManager.List.RemoveAt to remove the datarow. See this thread for some code snippets.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=15342