Timeline GroupHeaders custom height

4 posts, 0 answers
  1. Trajce
    Trajce avatar
    2 posts
    Member since:
    Sep 2016

    Posted 12 Sep Link to this post

    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?

     

  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 14 Sep Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Trajce
    Trajce avatar
    2 posts
    Member since:
    Sep 2016

    Posted 14 Sep in reply to Kalin Link to this post

    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

  5. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 16 Sep Link to this post

    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.
Back to Top