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

GanttView and custom item templates

1 Answer 74 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Lars
Top achievements
Rank 1
Lars asked on 27 Feb 2012, 10:43 PM
Working through some sample code with GanttView, and I'm wondering if I am able to do any of the following either by some level of re-templating or via support that I haven't yet discovered with the control's OM:

1. In-line labeling of milestones or summary tasks. I believe the control will apply a label inline with a task (shows up in the interior of the task timeline graphic). Can I do something similar for milestone diamonds and summary tasks?

2. Rollup views. Is there a way that I can show, for example, milestones or tasks laid on top of/inline with a summary task? E.g, can I get the same 'task rollup' functionality that we have today in Microsoft Project?

3. In general, is there some sample XAML that demonstrates changing the appearance of tasks/milestones/summary tasks?

Thanks!

--lars

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 28 Feb 2012, 01:02 PM
Hi Lars,

Currently we don't support points 1 and 2, but we will consider adding then in our TODO list. Inline labeling could be partially achieved by changing the control templates of the the summary and the milestone containers and placing some negative margins according to the expected text length.

The attached sample project demonstrates how to change the look of tasks, summaries and milestones and how to show inline label for those that don't have one.

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GanttView
Asked by
Lars
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or