I want to modify the header of one of my column's to add a slider control. Moving the slider will change the size of the images which are displayed in the column. Can you point me in the correct direction?
Thanks,
Jerry
3 Answers, 1 is accepted
0
Vlad
Telerik team
answered on 08 Jun 2010, 05:57 AM
Hi Jerry,
Header property of grid columns is object and you can define anything - even UI elements. You can check for example third column in this demo.
All the best,
Vlad
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.
One further question is how do I reference some property from the column header, such as the header text, into the template.
Thanks,
Jerry
0
Pavel Pavlov
Telerik team
answered on 15 Jun 2010, 01:34 PM
Hi Jerry Kurata,
Controls placed inside the column Header can not reference the header text , as they actually replace it.
You can set the Header property to a string , or you can set it to an UI Element , containing a textblock with Text set to the header string.
In other words :
What you can do is to place a textblock in the Header ( along with other controls needed and hardcode the header text .
Regards,
Pavel Pavlov
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.