Hi @all!
I have a SfDataGrid with SelectionUnit set to Any and SelectionMode set to Multiple. Now the user can select some cells and can tap on a button and i will handle the selected cells.
But when i call GetSelectedCells on the SfDataGrid, i will get the cells in the order how they was selected, but i need to get the selected cells from the first cell to the last cell.
For example: user selects the cell B3 first, dann B2, then B1, then A3 and lastly A2. No when i call the GetSelectedCells function, i will get the Items B3, B2, B1, A3 And A2.
But i need to get the items like: A2, A3, B1, B2 and B3. (A2 and A3 are the first row in the grid, and B1/2/3 are the second row in the grid).
How can this be achieved?
Thanks for any help
Greetings
Thomas