Hi,
I have an UltraGrid that is bound to a datasource that changes in realtime. By realtime i mean that rows can be added or removed to the datasource. Supposing I have rows A,B,C,D,E,F,G,H,I. I select rows C,D with D being the active. If row I gets deleted, the selected row shifts to E and on subsequent deletes to the datasource, the selection keeps shifting down to F, G, H etc.
To re-iterate my datasource is changing from the backend, the user is not deleting.
What could this reselection be due to?
Infragistics version: 10.3
Any help would be really appreciated.
What's the DataSource? It sounds like your data source is doing something it shouldn't be doing. Is it a DataSet, a DataTable, an UltraDataSource, a BindingList, some custom object?
It's a DataTable. I think it happens when one row gets deleted, I can see the grid.Selected.Row having another row in the collection that I have not selected. Is there a way to disable this so that selection only happens on user click and not programmatically? Or is there any other reason the grid's selection is including new rows?
It's a DataView