Hello.
I use radGridView with filtering in my application.
How can I get number of rows hidden by filter?
e.g. I need to export my radGridView data in Exel if number of hidden rows is greater than some number. Is it possible?
2 Answers, 1 is accepted
0
Stefan
Telerik team
answered on 05 Mar 2013, 07:26 AM
Hello Dmitry,
Thank you for writing.
Here is how you can get the desired row count:
int totalsRows = radGridView1.Rows.Count;
int rowsAfterFiltering = totalsRows - radGridView1.ChildRows.Count;
int filteredRows = totalsRows - rowsAfterFiltering;
I hope that you find this information useful. Let us know if you need anything else.