In my application, we implemented two GridDataBoundGrid that are tied to a datasource. We need to be able to move items between the 2 grids.
I have looked at various methods, but is unable to figure out how to:
a. Get the current selected rows? (might not be contiguous) I tried datagrid.Selections.GetSelectedRows(true, false);
b. How to map the "selected row to the row in the datasource"?
I am trying to use datagrid.DataSource.Remove() or datagrid.DataSource.RemoveAt()
Can any one provide me with an example? This sounds like a very easy thing to do, but I am new to the Syncfusion framework. Thanks you for your help!
To delete a record at a rowindex in the grid, you can use:
Or, you can also use gridDataBoundGrid1.Binder.RemoveRecords. But to use this, you need to use gridDataBoundGrid1.Binder.RowIndexToPosition to convert the rowindex to a record position.