This is a migrated thread and some comments may be shown as answers.

[Solved] Filter events?

4 Answers 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Theron Kousek
Top achievements
Rank 1
Theron Kousek asked on 24 Mar 2009, 09:05 PM
Hello

I'm displaying the "current" number of rows in the RadGridView as it's loaded.  

I'm allowing Filtering as it's a really good option.

what is the best way for me to "trap" when the "number of rows" in the grid changes?   So if I initially load the grid with 100 rows, I will display "Row Count: 100" above the grid.   If they filter and the filter results in only "50" rows, I'd like to be able to display "Row Count: 50".

I'm looking for a way to receive notification of when the row count in the grid changes (as a result of filtering).

thanks!!!

4 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 26 Mar 2009, 08:55 AM
Hello Theron,

Currently we did not provide such an event. However we are considering adding it for the upcoming service pack release.

Kind regards,
Stefan Dobrev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Theron Kousek
Top achievements
Rank 1
answered on 26 Mar 2009, 12:55 PM
Hello

Is there any other way (besides polling) to get some event indicating the data rows in the Grid's record collection have changed?  If I had a means to query the record count in the "Records" collection on the grid *after* an event occured, that would be great.

Thanks.   I like the Telerik library.  I noticed the Component One library mentioned supporting filtering events.   It would be a very usesful feature.    We are displaying the "row" count in the grid at any given time (serves it's purpose for customized paging algorithms, etc..).

Please consider adding this for future release. 

0
Vlad
Telerik team
answered on 30 Mar 2009, 07:14 AM
Hello Theron,

I have attached small demo application to illustrate you how to achieve your goal with the current grid version. You can find the project attached.

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Theron Kousek
Top achievements
Rank 1
answered on 30 Mar 2009, 12:56 PM
thanks Vlad...

This is perfect and is exactly what I was looking for...


Tags
GridView
Asked by
Theron Kousek
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Theron Kousek
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or