Disable the time indicator during a reshape interaction

Article ID: 2344
Last updated: 29 May, 2018
Article ID: 2344
Last updated: 29 May, 2018
Revision: 3
Views: 979
Posted: 11 Jan, 2008
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to disable the time indicator during a reshape interaction?

Answer

By default, a time indicator is displayed during each reshape operation.
It allows the updated date to be viewed in more detail.

You can disable this time indicator in one of two ways:

  • Hide the time indicator layer by calling the IlvGanttSheet.setTimeIndicatorLayerVisible(false) method.
    Note that this will have an impact on all time indicators that you have set on the Gantt Sheet.
  • Remove the listener responsible for drawing the time indicator at reshape time.
    Note that this will not have any impact on the other time indicators set on the Gantt Sheet.
    This can be achieved using the following code snippet:

    IlvGanttSheet mySheet = ganttChart.getGanttSheet();
    IlvTimeIndicatorReshapeFeedback tirFeedBack = mySheet.getDefaultTimeIndicatorReshapeFeedback();
    IlvActivityGraphicReshapeInteractor.removeActivityGraphicInteractorListener(mySheet, tirFeedBack);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2344
Last updated: 29 May, 2018
Revision: 3
Views: 979
Posted: 11 Jan, 2008 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category