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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide column when exporting

Thread ID:

Created:

Updated:

Platform:

Replies:

144442 May 6,2019 08:39 PM UTC May 8,2019 04:29 AM UTC ASP.NET MVC 3
loading
Tags: Grid
Bernard Jurlina
Asked On May 6, 2019 08:39 PM UTC

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.

Vignesh Natarajan [Syncfusion]
Replied On 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. 


Bernard Jurlina
Replied On May 7, 2019 09:41 PM UTC

Thanks Vignesh!
It's working.

Regards!
Bernard.

Vignesh Natarajan [Syncfusion]
Replied On 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.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon