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

[Solved] Filter values

1 Answer 114 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.
Zainab Vora
Top achievements
Rank 1
Zainab Vora asked on 04 Nov 2010, 07:37 PM
Hi Telerik Team,

my grid has more than 10,000 rows, so we had a issue where filter would not show all the distinct values.

Following a few other forums, I added event handler DistinctValuesLoading which solves the problem.

But now when we apply filter on a column, other column filters show all the values (values which are no longer visible in the grid due to filtering).

Is there a fix for this ?

Any other work around which would fix this?

thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 05 Nov 2010, 10:37 AM
Hi Zainab Vora,

There is a boolean parameter of the GetDistinctValues (in one of its overloads) method which specifies exactly this setting. I think it was called filter. The API doc explains what it does. Basically, when it is false -- all distinct values will be returned regardless of the currently existing filters.

I hope this helps.

Best wishes,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Zainab Vora
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or