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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to modify grid properties while Exporting?

Platform: ASP.NET Core |
Control: Grid |
Published Date: July 30, 2018 |
Last Revised Date: July 30, 2018
Tags: exporting, grid

Solution:

 

We can modify all the Grid properties at server end while on Exporting, For instance, we have removed the specific columns on Excel Export and similarly it can be followed in other types of grid exporting such as PDF Export. To achieve this, we can get the columns from the Grid properties and remove it by using Remove property of c#.

 

1. Render the Grid.

 

JS

 

 

MVC

 

 

ASP

 

ASP.NET Core

 

codeBehind

MVC

 

ASP

 

ASP.NET Core

 

Output Screenshot:

 

At Excel Exporting:-

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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