Hi,
I am simulating an Excel like control with the wingrid. It uses an UltraDataSource as data source.When user selects a range of cells, and presses DEL, I remove all the data in the selected cells.The code for this:
foreach (UltraGridCell cell in _grid.Selected.Cells){ cell.Value = DBNull.Value;}
This works fine, but it leaves the affected rows in edit mode.
See the pencil icons at the beginning of the rows.
I tried SuspendBindingNotifications before, did not help.Tried SuspendRowSynchronization before, did not help.Tried PerformAction(CommitRow) after, did not help.
How could I make the grid to "commit" these changed rows, or prevent this?
Thanks