From 9573aa2f822030ca4d6600e98c4e8f3c68316a94 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Mon, 29 May 2023 10:40:27 +0700 Subject: [PATCH] Fix duration editor --- edit-mode/function/ganttConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit-mode/function/ganttConfig.js b/edit-mode/function/ganttConfig.js index d7f317f..2cd8059 100644 --- a/edit-mode/function/ganttConfig.js +++ b/edit-mode/function/ganttConfig.js @@ -256,7 +256,7 @@ var allColumns = [ { name: "text", label: "Activity", tree: true, min_width: 150, editor: editor.text, resize: true }, { name: "start_date", label: "Start Date", align: "center", min_width: 80, editor: editor.start_date, resize: true }, { name: "end_date", label: "Finish Date", align: "center", min_width: 80, editor: editor.end_date, resize: true }, - { name: "duration", label: "Duration (Day)", align: "center", min_width: 50, resize: true }, + { name: "duration", label: "Duration (Day)", align: "center", min_width: 50, resize: true, editor: editor.duration }, { name: "rencana_biaya", label: "Cost Planning", align: "right", min_width: 100, resize: true, template: function (text) { if(!text.rencana_biaya){ return