AD
Administrator
Syncfusion Team
March 31, 2005 04:24 PM UTC
The default delete support only works for the root grid. If you want to click a row header on a child table and delete it, then you will have to handle this yourself. It requires catching teh RowsDeleting event and doing the work there. Here is a minimal sample showing how you can do this. You use information in the GridBoundRecordState for the row to do the work. You also have to force teh parent node to open and close so it refreshes itself showing one less row. This is done in a ''silent'' mode so there is no flashing caused by closing and opening the node.
http://www.syncfusion.com/Support/user/uploads/GDBG_HierDelete_cc3dd0d2.zip