Posted 21 November 2021, 2:20 pm EST
Hi,
Could you let me know how exactly the formatting is getting added to the cell are you using designer? or you are changing the state and formatting by code.
-
if you are changing the format and state by code then you could create a custom event bus and publish the event whenever it is needed.
-
If you are using the designer then you may use the following code snippet to listen al the designer actions event
ss.commandManager().addListener('appListener', function (cmd) {
if(cmd.command.cmd ==="Designer.addRule" || cmd.command.cmd ==="Designer.addCellState")
console.log(cmd);
});
Regards
Avinash