We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hide Column Issue Spreadsheet

Hi there

I need to hide a number of columns in the spreadsheet control but I seem to always get the following error


I have tried to placing the logic into other events such as DataBound and OnCreated but again no luck.

Has anyone else had the same issue or have any ideas?

Thanks in advance.


1 Reply

SP Sangeetha Priya Murugan Syncfusion Team May 3, 2023 12:31 PM UTC

Hi Geoff,


The hideColumn method works properly in our end without throwing any error, while calling in the created event. For your reference we have created the sample based on your reported scenario. Please find the sample link below.


Sample Link: https://stackblitz.com/edit/react-j2j6ht?file=index.js


Please check the above sample and replicate your scenario in the above sample and send it back to us. Based on that we will be able to check and provide you with a better solution quickly.


Loader.
Up arrow icon