I have successfully customised row of grid using
grid.addRowCss(row.id, "myCustomClass")
but grid.removeRowCss(row.id, "myCustomClass")
does not remove the class
I have successfully customised row of grid using
grid.addRowCss(row.id, "myCustomClass")
but grid.removeRowCss(row.id, "myCustomClass")
does not remove the class
If the problem is addressing to that snippet:
https://snippet.dhtmlx.com/7luv4oi2
I can suggest you to load the data using the parse() methof instead of config as a workaround:
https://snippet.dhtmlx.com/7wfgn2g9
What about the problem itself - we confirmed it and we’ll try to fix it in the future updates.
Is there any workaround for removeRowCss if I am using grid.data.load() to load the data into the grid?
In case of using the load() method removeRowCss function should correctly. Just make sure that you are calling it after the data is completely loaded.
You can use load event and awaitRedraw for that.
https://docs.dhtmlx.com/suite/data_collection__api__load_event.html
https://docs.dhtmlx.com/suite/helpers__await_redraw.html