gridviewextjsextjs6-modern

Make grid cell editable on single click, in modern toolkit extjs


In modern toolkit extjs, how to make a grid cell editable on single click? I tried using clickToEdit: 1, as in classic version. But this doesn't work in modern. Can anyone suggest me on this.! Thanks!


Solution

  • You can use 'triggerEvent' property in the 'gridcellediting' plugin config. Something like this:

    plugins: {
        gridcellediting: {
            triggerEvent: 'tap', // edit on one click/tap
            selectOnEdit: true
        }
    }