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
close icon

Hide column when exporting

How can I hide specific columns when exporting grid to excel?
For example, there is 10 columns in the grid but I want export only 5 of them to excel.

Thanks!
Bernard.

3 Replies

VN Vignesh Natarajan Syncfusion Team May 7, 2019 03:46 AM UTC

Hi Bernard,  
 
Thanks for contacting Syncfusion forums.  
 
Query: “How can I hide specific columns when exporting grid to excel? 
 
From your query, we understand that you need to hide the certain column, only while exporting the Grid. We have already discussed this topic in our knowledge base document section. Kindly refer the below link for the knowledge base document  
 
 
Note: we have removed the columns from the GridProperties in server side using Remove property of c# 
 
Please get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 



BJ Bernard Jurlina May 7, 2019 09:41 PM UTC

Thanks Vignesh!
It's working.

Regards!
Bernard.


VN Vignesh Natarajan Syncfusion Team May 8, 2019 04:29 AM UTC

Hi Bernard, 

Thanks for the acknowledgement.  

We are glad to hear that your query has been resolved by our solution.  

Please get back to us if you have further queries. 

Regards, 
Vignesh Natarajan.  


Loader.
Live Chat Icon For mobile
Up arrow icon