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

Adding to GanttView Style

1 Answer 78 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 11 Jul 2012, 09:37 PM
Hello,

I would like to add a a button to each ganttview event style (because the events can get really tiny and I would like a fixed size button).  It seems as though changing EventContainer and SummaryContainer only effect what's in the event box.  This is not desireable because of the small size of the events.  Is there a way to add the item next to the event?

Thanks,
Eric

1 Answer, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 12 Jul 2012, 12:49 PM
Hi Eric,

Currently the feature of rendering very small tasks in RadGanttView is not implemented.

I have created a very simple example illustrating what you wish to acheieve. You can add a RadButton next to the EventContainer. Upon click the button modifies the right margin of the EventContainer and sets a negative  margin value of the container. This results in expanding the task with a specified fixed value, which is actually the right negative margin.

Please, see the attached project.

I hope this information will be helpful.

Regards,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
GanttView
Asked by
Eric
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or