Our state of the art Gantt chart


Post by prabhakaran.r »

Hi
Am trying to do task edit on double click the task task in the column
I have attached a screen shot please check

Attachments
click.png
click.png (87.51 KiB) Viewed 58 times

Post by tasnim »

Hi,

Here is is how you could achieve it

inside of ganttConfig

    listeners : {
        cellDblClick({ grid, record }) {
            grid.editTask(record);
        }
    },

columns : [
    { type : 'name', width : 250, editor: false }
],

Docs:
https://bryntum.com/products/gantt/docs/api/Gantt/feature/TaskEdit#function-editTask
https://bryntum.com/products/gantt/docs/api/Grid/view/mixin/GridElementEvents#event-cellDblClick

And here is the output

Attachments
PowerToys_FHr8ihIBQ9.gif
PowerToys_FHr8ihIBQ9.gif (1022.09 KiB) Viewed 54 times

Post Reply