I have a RadGridView where filters can be applied.
What is the most efficient way of finding the index of the row when filters are applied?
For example a row may be the 5th row in a grid but when filters are applied it is now the top most row hence has an index of 0.
Thanks
1 Answer, 1 is accepted
0
Dimitrina
Telerik team
answered on 14 Aug 2014, 07:20 AM
Hi,
When a filtering is applied, all the items displayed in RadGridView are available through RadGridView.Items collection.
You can find the index of a specific row with the following code:
clubsGrid.Items.IndexOf(row.Item)
Regards,
Didie
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.