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

[Solved] Position of filter "button" in header of gridview

2 Answers 213 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.
luke
Top achievements
Rank 1
luke asked on 11 Oct 2010, 11:46 AM
Hi, at my project i have limited surface for my radgridview, after changing from standard silverlight gridview to radgridview appear filter "button" in every column(its ok), every my column is tight, so i increase height of header style but this button stay at same height as title, i would like put it under the header text or over, how can i set this?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
luke
Top achievements
Rank 1
answered on 12 Oct 2010, 11:15 AM
update: i added screen what effect i would like achieve...

Column header "orientation" vertical instead of horizontal


edit:
ok i found solution
this tutorial helped me a lot
http://www.telerik.com/help/wpf/gridview-templating-column-headers.html
0
Vanya Pavlova
Telerik team
answered on 13 Oct 2010, 02:43 PM
Hello Ɓukasz,

You can achieve this effect through editing the template of the GridViewHeaderCell and positioning the part named PART_DistinctFilterControl to meet your personal requirements. I have prepared an example for you that demonstrates this approach.

Please check the attached project and if you need any additional information let me know. 

Kind regards,
Vanya Pavlova
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
luke
Top achievements
Rank 1
Answers by
luke
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or