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

Timeline GroupHeaders custom height

3 Answers 115 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Trajce
Top achievements
Rank 1
Trajce asked on 12 Sep 2016, 01:13 PM

I've used your tutorial "Templating the GroupHeaders topic" to create a custom GroupHeaderContentTemplateSelector.

How do I make each group header height to stretch to the content of the header template? For example the first group header height is 200px, the second 300px, the third 80px. Currently all group headers have equal height. Is this possible?

 

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 14 Sep 2016, 01:05 PM
Hello Trajce,

Can please you share some more details regarding the exact scenario you want to achieve? Which  ViewDefinition are you using? If you can share an image of the desired result that would be really helpful.

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Trajce
Top achievements
Rank 1
answered on 14 Sep 2016, 01:38 PM

Hi Kalin,

I'm using TimelineViewDefinition. I've attached 2 images, one is from the current result and the other from the desired result.

It seems that all group headers are sized equally, based on the tallest one.

Is it possible to have different heights of the GroupHeaders based on the content? Any idea on how to achieve the desired result?

Tnx

0
Kalin
Telerik team
answered on 16 Sep 2016, 11:02 AM
Hello Trajce,

I'm afraid this is not possible with the current implementation of the control. However I have logged a feature request for that in our Feedback portal, you can track and vote for the item on the following link:
http://feedback.telerik.com/Project/143/Feedback/Details/201172-scheduleview-make-possible-to-have-groupheaders-with-different-not-equal-size

If you have any other questions or concerns, please let us know.

Regards,
Kalin
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ScheduleView
Asked by
Trajce
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Trajce
Top achievements
Rank 1
Share this question
or