Adding to GanttView Style

2 posts, 1 answers
  1. Eric
    Eric avatar
    48 posts
    Member since:
    Jul 2012

    Posted 11 Jul 2012 Link to this post


    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?

  2. Answer
    Masha avatar
    355 posts

    Posted 12 Jul 2012 Link to this post

    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.

    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top