Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1100
How to provide 'add item' to user
posted

I have a Gantt chart, that depicts two series.

I have a need to allow the user to click in the chart, to add a Gantt item, in a third series.

Ideally, this would show in chart, and allow the strat and end times to be set via client-side sliders.

 

Doest the Gantt chart support this?

(best example would be like scheduling an appointment in Outlook - where the event could be 'sized' according to the customer dragging the edges to the appropriate time)

 

 

 

Parents
No Data
Reply
  • 19693
    posted

    Hello Mike,

     

    In theory  this is possible. You can click , modify the data and recreate the chart.

     

    You can set start and end time by sliders but keep in mind that you should do a post back when you change the chart.

     

    Also you should keep the current state of the Chart, because it will be recreated.

     

    For example you can save the data in Session variable or in the ViewState.

     

    After that you can add another serie to the GanttDataSource .

     

    Please let me know if you need further assistance regarding this.

Children