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

Scrolling Grid vertically but not horizontally

1 Answer 412 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gora
Top achievements
Rank 1
Gora asked on 24 Aug 2016, 10:15 AM

Hi, I would like to scrolling a Kendo UI MVC Grid vertically but not horizontally.

.Scrollable(scroll => scroll.Height(80).Enabled(true))  make it scrolls  vertically and horizontally.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 26 Aug 2016, 08:04 AM
Hello Gora,

In order for the horizontal scrollbar to disappear you will have to set such width to the Grid and its columns, so that it will not need a horizontal scrollbar. When the sum of all columns width fits the width of the Grid, no horizontal scrollbar will appear.

Hope this helps.


Regards,
Konstantin Dikov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Gora
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or