Hello, I have a ChartFactor Raw data table in my react app, and I want to detect changes in the table data when sorting or filtering, so I can update other components accordingly. How can I achieve this?
Raw data table changes on data detection
emoya
#2
When the data in Raw Data Table changes a event called rdt:data-updated
is fired. You can listen to this event and detect changes in the table data. Here is an example of how to do this:
yourVizInstance.on('rdt:data-updated', (event) => {
console.log('Data updated:', event);
// then do whatever you want when data changes...
});