Adding restriction selection to Timeline

6 posts, 1 answers
  1. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 29 Mar 2013 Link to this post

    Hi,

    Is there anyway to restrict the timeline ruler to allow the selection of full days when a user resizes a task?, the current behavior is that, even though the my pixelsize is set to days, when a user resizes a task, the tooltip shows him that the resizing is happening in hours/minutes and seconds, this is confusing because he expects it to be in full days

    thanks in advance for your help
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 Apr 2013 Link to this post

    Hi Ron,

    This can be achieved using the Drag and Resize behaviors of the GanttView. This example demonstrates how you can implement the snap behavior you mentioned.

    Hope this helps.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 02 Apr 2013 Link to this post

    Thanks for your reply Miroslav

    This is what I was looking for, but one additional question, is there anyway to change the Tooltip display text to not show the hours when resizing?

    Thanks
  5. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 03 Apr 2013 Link to this post

    Hello Ron,

    We are currently working on some improvements of the GanttTask and the ToolTipStyle property is one of them. These improvements should be available until Q2 this year. Meanwhile you could change the ToolTip which is in the ControlTemplate of the EventContainer.

    Regards,
    Ventzi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 03 Apr 2013 Link to this post

    Hi Ventzi,

    Do you a sample on how to accomplish this?

    thanks in advance for your help
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 04 Apr 2013 Link to this post

    Hi Ron,

    We do not have such an example at hand.  I would suggest to check this article which explains how to customize the template of the EventContainer element in RadGanttView.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner