Our blazing fast Grid component built with pure JavaScript


Post by web combatant »

How to call onchange function when the cell is changed?


Post by mats »

You mean getting notified of data changes?

grid.store.on('change', console.log)

Post by web combatant »

Do u have any solution for only one cell?


Post by web combatant »

grid.store.on('change', console.log)

How to use this code on vue.js (AppConfig file)?


Post by tasnim »

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

Best of luck,
Tasnim


Post Reply