본문으로 건너뛰기

inline_editors_date_processing

Description

작업의 시작/종료를 편집하는 동안 작업 기간을 변경하지 않습니다

inline_editors_date_processing: string | undefined

Example

gantt.config.inline_editors_date_processing = "keepDuration";

Default value: undefined

Details

Affects the behavior of inline editors for start and end dates of tasks. When the config is undefined (default):

  • When a user changes the start date of a task, task duration will remain unchanged and the whole task will be rescheduled to the specified time.
  • When a user changes the end date of a task, task start date will remain unchanged, task duration will be updated in order to reflect the change.

This is different from the default logic in versions before 6.2.

In order to revert to v6.1 behavior, use the "keepDuration" value:

gantt.config.inline_editors_date_processing = "keepDuration";

Which will have the following effect:

  • When a user changes the start date of a task, task duration will remain unchanged and the whole task will be rescheduled to the specified time.
  • When a user changes the end date of a task, task duration will remain unchanged and the whole task will be rescheduled to end at the specified time.

An alternative value is "keepDates":

gantt.config.inline_editors_date_processing = "keepDates";

It has the following effect:

  • When a user changes the start date of a task, end_date will remain unchanged, task duration will be updated in order to reflect the change.
  • When a user changes the end date of a task, start_date will remain unchanged, task duration will be updated in order to reflect the change.

Change log

  • added in v6.2 for compatibility with previous versions
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.