Is there a possible workaround for this bug? For example, change detection to manually update the UI when the user selects an item from the drop-down. The values do display if I collapse and expand the columns.
Support Forum
try to call gantt.refresh()
in https://bryntum.com/docs/gantt/api/Gantt/feature/CellEdit#event-finishCellEdit event handler.
All the best,
Alex
I was able to solve the issue where the dropdown UI was not displaying the selected property. By doing this:
private addListenerGantt() : void {
this.addListener = {
finishCellEdit({ editorContext } : any) {
const { record, editor, column } = editorContext;
console.log(record);
console.log(editor);
console.log(editor);
column.refreshCell(record);
}
};
}
However, when I check the values in this.gantt.project.inlineData for eventsData, The selected dropdown value is null for its children. Is there a way I can fix this issue? Please see image.
- Attachments
-
- dropdown values are not being updated in the this.gantt.project.inlineData.eventsData
- eventsData.PNG (20.93 KiB) Viewed 453 times