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

Adding restriction selection to Timeline

5 Answers 68 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 29 Mar 2013, 03:17 PM
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

5 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 01 Apr 2013, 09:58 AM
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.

0
Ron
Top achievements
Rank 1
answered on 02 Apr 2013, 01:26 PM
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
0
Ventzi
Telerik team
answered on 03 Apr 2013, 12:03 PM
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.

0
Ron
Top achievements
Rank 1
answered on 03 Apr 2013, 09:12 PM
Hi Ventzi,

Do you a sample on how to accomplish this?

thanks in advance for your help
0
Yana
Telerik team
answered on 04 Apr 2013, 12:40 PM
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.

Tags
GanttView
Asked by
Ron
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Ron
Top achievements
Rank 1
Ventzi
Telerik team
Yana
Telerik team
Share this question
or