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

[Solved] Add GridSplitter to Header

2 Answers 65 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.
Bjorn
Top achievements
Rank 1
Bjorn asked on 19 Jul 2011, 04:15 PM
Hi,

Could you advise me on how i would add a GridSplitter to the Header?

I rotated the text within the headers 90 degrees because the length of the header, but now i would like to be able to make the header smaller by introducing a splitter or another technique.

I attached an example image that shows what I want to be able to do. I tried some styling of my own, but couldn't get the GridViewScrollViewer.HeaderRow to do what i want.

Basically i want to be able to drag the black line in the example image to change the size of the header area.

Any help or direction would be highly appreciated.

Thanks!

ps: so the example image show the "table" in two different states. The original and the changed state where I changed the size of the header by "moving" the black line.

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 21 Jul 2011, 08:20 AM
Hi Bjorn,

 

You may achieve the desired result through predefining the template of RadGridView.
Please find attached sample project that demonstrates how this can be achieved.


Kind regards,
Vanya Pavlova
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Bjorn
Top achievements
Rank 1
answered on 21 Jul 2011, 01:34 PM
beautiful! exactly what i wanted. Thank you very much!
Tags
GridView
Asked by
Bjorn
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Bjorn
Top achievements
Rank 1
Share this question
or