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

In Kendo Grid, managing column width dynamicaly

1 Answer 1083 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arun
Top achievements
Rank 1
Arun asked on 05 Apr 2013, 07:29 AM
In Kendo Grid, How to automatically adjust the column width on the basis of the column data length and browser window width

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 05 Apr 2013, 11:10 AM
Hello Ajay,


You could achieve this if you disable the scrolling of the Grid. In this scenario the table element of the Grid will be with an "auto" table-layout, so the columns will expand and shrink according to their content.

When the scrolling is enabled,the table layout is fixed, so any columns, that does not have an explicitly specified width will be equally wide.

You could find additional information in the following topics, where my colleague Dimo has answered in detail:
Grid Widths
Dynamically resize kendo grid and columns

 

Regards,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Arun
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or