Datagrid: choose which filter use
This post has
1
verified answer and
4
replies
hyera
Posted:
Tue Nov 10, 2009 @ 12:31 AM
Hi,
I've seen that in the new release is possible to show, through the ShowColumnFilters="true", the filters on the columns;
I'd like to know if it possible to choose, among the filters, the ones I prefer.
Thank you
Verified Answer
milos
Posted:
Tue Nov 10, 2009 @ 9:19 AM
hyera, you are right: there is no way to set this Style in the API currently. We have added properties for this for the first 2009.3 service pack. Please contact support, referencing this thread, and we will send you a build with these properties in place.
I hope this helps.
All Replies
milos
Posted:
Tue Nov 10, 2009 @ 7:59 AM
Hello hyera,
Filter dropdown customization isn't supported in this version and the control does its best to "do the right thing" for every filter and every data type. We plan to include full templating of the dropdown in a future version.
In the meantime, you could use a custom template to override the default XAML for DataGridColumnFilterHeader.
hyera
Posted:
Tue Nov 10, 2009 @ 8:42 AM
Thank you.
I have modified the default XAML template for DataGridColumnFilterHeader.
The problem is that I don't know I can set this template, I mean, I don't find a property like DataGridColumnFilterHeaderTemplate, or something like this.
Any helps?
Thanks
milos
Posted:
Tue Nov 10, 2009 @ 9:19 AM
hyera, you are right: there is no way to set this Style in the API currently. We have added properties for this for the first 2009.3 service pack. Please contact support, referencing this thread, and we will send you a build with these properties in place.
I hope this helps.
I am evaluting the 2009.3 product and I would really like to know how to see what the default template definition is. I would like to supply my own template but keep the same icons and text that ComponentArt uses, but just with a smaller list. Can you tell me how to do this?