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

Specifying column width doesn't scroll

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Apr 2019, 02:35 PM

If I specify a column width like

GridHelpers.FilterableColumn(columns, m => m.Description).Width(480);

It seems that the columns that should show to the right are overridden. I don't see them. How do I specify a width AND allow for scrolling?

Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 05 Apr 2019, 07:30 AM
Hello Kevin,

When scrolling is enabled the table-layout style is set to fixed and all columns without a defined width appear equally wide. However, when the horizontal space is not enough, columns without a defined width shrink to a zero width.

The horizontal scroll will appear when all columns have pixel widths and their sum exceeds the width of the Grid.

Could you please set a width to each column and let me know if the horizontal scroll appears?


Regards,
Georgi
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or