This question is locked. New answers and comments are not allowed.
First this link appears to be broken in your documentation on Fitering the gridview
How to style the column header of the filtered column.
on this page http://www.telerik.com/help/silverlight/gridview-overview-filtering.html
Second, when filtering a DataGrid, if there is a checkbox column, the filtering options are limited to the values currenly on the screen. When using a paged data set and server side paging, that is not very useful. How do I force it to show both the True and False options always???
and what event is triggered when a user changes And to Or or Or to And in the filter selection box? Anything else triggers filtering and filtered events, that setting being changed does not trigger either, and should trigger both.
5 Answers, 1 is accepted
0
Hi Andrew,
We have fixed the link immediately.
Thank you for your notification.
You can subscribe to the DistinctValuesLoading event and check if e.Column is your boolean column. If so, set the e.ItemsSource to a list of true and false values.
I did not understood your last question. Could you please explain it in more detail?
Thanks
Kind regards,
Veselin Vasilev
the Telerik team
We have fixed the link immediately.
Thank you for your notification.
You can subscribe to the DistinctValuesLoading event and check if e.Column is your boolean column. If so, set the e.ItemsSource to a list of true and false values.
I did not understood your last question. Could you please explain it in more detail?
Thanks
Kind regards,
Veselin Vasilev
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
0
Andrew
Top achievements
Rank 1
answered on 20 Oct 2010, 05:07 PM
<telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Display}" ShowDistinctFilters="False" ShowFieldFilters="True"/>
With these settings, no filtering can be done at all.
But if you use distinct filters and the screen is filled with all checked or unchecked items, that is the ONLY choice you get.
FieldFilters for a checkbox column should be
Checked
Unchecked
or
True
False
And in that case you don't need a second set of options, since that would be redundant.
With these settings, no filtering can be done at all.
But if you use distinct filters and the screen is filled with all checked or unchecked items, that is the ONLY choice you get.
FieldFilters for a checkbox column should be
Checked
Unchecked
or
True
False
And in that case you don't need a second set of options, since that would be redundant.
0
Andrew
Top achievements
Rank 1
answered on 20 Oct 2010, 05:13 PM
although I firmly believe this is a bug you should fix, is there a workaround perhaps using a template for filtering control just for boolean columns?
0
Hello Andrew,
Have you tried the workaround I gave you by subscribing to the DistinctValuesLoading event?
Didn't it help?
You can check this blog post on how to create a custom filtering control.
Greetings,
Veselin Vasilev
the Telerik team
Have you tried the workaround I gave you by subscribing to the DistinctValuesLoading event?
Didn't it help?
You can check this blog post on how to create a custom filtering control.
Greetings,
Veselin Vasilev
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
0
Andrew
Top achievements
Rank 1
answered on 25 Oct 2010, 01:20 PM
Not yet since I am sure its a bug, so I thought I would wait and focus on other issues while you fixed it.