Hi Team,
I have 2 columns status dropdown & percentage complete. When users change status the percentage should be updated.
The following way I implemented,
Status Dropdown data:
[
{ id: 1, status: "Not Started", value: 10 },
{ id: 2, status: "Started", value: 30 },
{ id: 3, status: "Preliminary", value: 45 },
{ id: 4, status: "Internal Review", value: 60 }
]
gantt.on('finishCellEdit', ({ editorContext }) => {
if (editorContext.column.field === 'status') {
editorContext.record.data.percentDone = 45;
}
});
but is not refreshing the cell.