When I edit some field in DataGrid I loose all my multi-selected rows , is there built-in way to prevent edit events from clearing selected rows ?
I understand that I can do it manually for example, everytime I have a select event row I can save the selected indices so when I start editing I won't loose them and then I can re-select them on ItemEditEnd .
But is there more simple way ?
Actually , even my original plan will not work because ItemEditBeginning event is fired before itemClick .... so by the time I try to get the indices in itemClick they are already cleared and only one index is selected the one row I'm beginning to edit
To select multiple rows, columns, or disparate cells, you must click, so you could save the selections then, so when the selections get wiped out in the UI you still might have access to them. But I think you are right, there's no easier way to do this.