Our state of the art Gantt chart


Post by caiyuan »

like this:
Image

Red box can not double-click, blue box can double-click, how to achieve


Post by Animal »

You already asked this in your other thread, and it was answered: viewtopic.php?p=108989#p108989


Post by tasnim »

Hi,
You can use the https://bryntum.com/docs/gantt/api/Gantt/feature/CellEdit#event-beforeCellEditStart event to prevent them.

Here is an example of how you can achieve it:

    listeners : {
        beforeCellEditStart(event) {
            if (event.editorContext.record.data.name === "Install Apache" && event.editorContext.column.data.text === "Duration") {
                return false;
            }
        }
    },

Good Luck :),
Tasnim


Post Reply