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

Select All Filter Behavior

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 01 Nov 2012, 01:38 PM
Is there any way to detect that Select All has been checked when persisting a filter on the gridview? I would like to ignore the distinct value list if Select All has been chosen by a user.
Thanks,

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 01 Nov 2012, 02:13 PM
Hi,

The only way I could think of would be to count the ColumnFilterDescriptor.DistinctFilter.DistinctValues and if they are the same count as column.GetDistinctValues() then the user must have selected them all.

I can't think of any other "more proper" way to detect this.

All the best,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Patrick
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or