Our blazing fast Grid component built with pure JavaScript
I want to get cellEdit working on one click, could i listen to
and inside it call parent's
and
events? I try to create a workaround, but it doesn't work that way. Thank you
Last edited by
m4qo5 on Wed Apr 01, 2020 10:16 am, edited 1 time in total.
We have a feature request to make the triggerEvent configurable
https://github.com/bryntum/support/issues/496
You can use the following code as a workaround (tested in basic grid example):
const onCellClick = ({ grid, record, column }) => {
grid.startEditing({ record, column });
};
new Grid({
listeners : {
cellclick : onCellClick
},
// ...
});