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

681 views Asked by At

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!

1

There are 1 answers

6
Arthur Rubens On BEST ANSWER

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

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