[VUE 3] How to call onchange function when the cell is changed?
Posted: Sat Oct 01, 2022 10:44 pm
How to call onchange function when the cell is changed?
How to call onchange function when the cell is changed?
You mean getting notified of data changes?
grid.store.on('change', console.log)
Do u have any solution for only one cell?
grid.store.on('change', console.log)
How to use this code on vue.js (AppConfig file)?
Hi,
In the AppConfig
(inside of the gridConfig
) file, You want to listen like this
store : {
listeners : {
change() {
console.log('change');
}
}
},
Docs :
https://bryntum.com/docs/grid/api/Core/data/Store
https://bryntum.com/docs/grid/api/Core/data/Store#event-change