Hello,
Let's say I have a data grid that has 100 rows of data. The page size is 10. And if I select the 3rd row on the 3rd page of the data grid. Is there a way to get the number of the selected row which is 22 in this example?
Thank you.
Hello,
Let's say I have a data grid that has 100 rows of data. The page size is 10. And if I select the 3rd row on the 3rd page of the data grid. Is there a way to get the number of the selected row which is 22 in this example?
Thank you.
If the collection bound to DataGrid Data is IList you can use IndexOf() method.