Posted 20 September 2022, 8:52 pm EST
- Updated 3 October 2022, 12:00 am EST
Hi,
Thanks for sharing the sample code. As I can observe in the SampleComponent.js file, you are applying style on the worksheet level(line no. 43). Based on the style priority policy, the cell style has the higher priority than table style. Therefore the applied style is visible.
I am not sure why you are applying style to the particular cell after inserting the column. However, you can comment the code from line no. 43 to 48 to avoid that. Please find the attached image that shows the code that is causing this behavior.
Regards,
Ankit