Our blazing fast Grid component built with pure JavaScript


Post by kamran812 »

How to specify a function on particular column change like we have 5 columns and from them once column is status we want to execute some functions only when the status value changed. How to add this.
Note: please note we are using vanilla JS version


Post by mats »

Simply listen to the store change event.

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

Please see docs: https://bryntum.com/products/grid-next/docs/api/Core/data/Store#event-change


Post by kamran812 »

Hi Mats Thank you for the reply
But by this it will call on every change I want to specify some code which only executes on specific column not on all the columns. Change reflect for all the records whenever there is modification change calls.


Post by mats »

There's no such per-column event, just use an if statement to check which fields where modified.?

Attachments
Screenshot 2022-12-27 at 14.42.30.png
Screenshot 2022-12-27 at 14.42.30.png (24.89 KiB) Viewed 395 times

Post by kamran812 »

Ok Mats I get the point
Thank you


Post Reply