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

Grid Column Size changes for multi page output

1 Answer 119 Views
Drawing API
This is a migrated thread and some comments may be shown as answers.
Nisarg
Top achievements
Rank 1
Nisarg asked on 31 Aug 2016, 07:44 PM

I have a grid, scrollable is set to false. When I export using the kendo.drawing.drawDOM, the column sizes are okay for the first page (with the grid header), but for the rest of the pages, column sizes changes according to the content.

I have attached an export snapshot.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Sep 2016, 12:17 PM
Hello Nisarg,

When Grid scrolling is disabled, the column widths for each page can change, according to the cell content. This is normal. To achieve identical column widths across pages, set table-layout:fixed to the Grid table and explicit column widths. The following documentation section provides more information on column widths:

http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#column-widths

Regards,
Dimo
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Drawing API
Asked by
Nisarg
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or