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

Columns with percent width disappear on grid window resize

1 Answer 482 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yair
Top achievements
Rank 1
Yair asked on 30 Apr 2015, 12:12 PM

Hi

I have a bunch of colums with fixed width and the last column which has percentage as width (I want it to occupy all the remaining space in the grid).

If the window is resized the last item disappears and the scrollbar only appears after the item before it starts to be hidden.

How can I have the scrollbar appear for the percentage width table column or perhaps is there some other way to have the last column occupy the remaining space of the grid.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 04 May 2015, 08:05 AM

Hello Yair,

The described behavior is expected. When the scrollable option of the Grid is enabled, the layout of the Grid table is set to fixed. This means that the width of the columns does not depend on their contents, but the browser sets their size automatically if there is no explicit width set. When there are columns with fixed size, the rest are distributed evenly on the space left and if there is no such space, they are hidden.

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