Spreadsheet Cell ClassName Persistent

Hi 👋 

I'm facing an issue when adding custom classnames to a specific cell using `addClass` from "ej2-base"
when I programatically refresh the workbook or fast scroll down to the bottom and go back to top these classnames seem to be lost.

any advice please on this...

Best
Reda


1 Reply

SP Sangeetha Priya Murugan Syncfusion Team September 5, 2022 11:45 AM UTC

Hi Reda,


We have maintained the style property in cellModel to update the CSS for cells in our source level. While scrolling or switching sheets cells are re-rendered, based on the model values cell UI getting refreshed. If you dynamically update any CSS class it will not be maintained in model, so only the class getting removed while scrolling and it is not an issue in our end. So, before we proceed further, please share your requirement with adding class name for cells. Is there any customization needs to be done in your end, please share it to us we will check and provide you a prompt solution quickly.


Regards,

Sangeetha M


Loader.
Up arrow icon