인라인 에디터 정의를 담고 있는 객체
gantt.config.editor_types.custom_editor = {// custom editor logic}
이 설정은 사용자 정의 에디터를 생성하는 데 사용됩니다(위 예제 참조).
다음과 같은 여러 내장 인라인 에디터가 제공됩니다:
여기서 정의된 에디터는 gantt 컬럼에 할당할 수 있습니다:
const textEditor = {type: "text", map_to: "text"};
const dateEditor = {type: "date", map_to: "start_date",
min: new Date(2018, 0, 1), max: new Date(2019, 0, 1)};
gantt.config.columns = [
{name: "text", label: "Task name", tree: true, width: "*", editor: textEditor},
{name: "start_date", label: "Start time", align: "center", editor: dateEditor}
];