This is a migrated thread and some comments may be shown as answers.

Is there a way to hide columns in the exportPDF event without changing what is onscreen for a Kendo UI Grid?

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 18 Apr 2017, 09:26 AM
When I am using the exportPDF event, I can hide the column on the grid, export it and after it is done show the column again. However, I don't want to have to hide the column as it is a noticeable change on the page. Is there a way to hide the column with affecting the grid on the page?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 19 Apr 2017, 01:10 PM
Hello Thomas,

I can assume that the approach used for showing and hiding the column is similar to the ones shown here:

http://www.telerik.com/forums/hide-last-column-of-kendo-grid-while-exporting-to-pdf-for-few-tables

http://www.telerik.com/forums/how-to-hide-column-while-export

If this is the case, currently this is the correct approach as there is not a built-in functionality to chose which column to be exported.

I can suggest submitting a feature request and based on its popularity we may implement it in a future release:

http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/category/170280-grid

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
Grid
Asked by
Tom
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or