Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the height of Kendo ui Grid

How do I change the height of the Kendo Grid when using wrappers?

like image 591
Goran303 Avatar asked Oct 18 '12 13:10

Goran303


People also ask

How do I change the width of a Kendo grid?

To control the width of the Grid, set the CSS width properties to the Grid itself or to some of its ancestors. If you use hierarchy and unless the detail template is scrollable, the detail template has to be narrower than the sum of the widths of all master columns.

How do I turn on vertical scroll bar in kendo grid?

Setting the Scrollbars To achieve vertical scrolling, set the height of the Grid. Otherwise, it will expand vertically to show all rows. To achieve horizontal scrolling, explicitly define the width of all columns in pixels and make sure their sum exceeds the width of the Grid.

What is Pageable in kendo grid?

pageable Boolean|Object (default: false)If set to true the grid will display a pager. By default paging is disabled. Can be set to a JavaScript object which represents the pager configuration. Don't forget to set a pageSize, no matter if paging is performed client-side or server-side.

How do I make my Kendo grid scrollbar horizontal?

Apply Scrollable() and give Width for each columns and then if the total width exceeds the width of the grid the horizontal scrollbar will appear.


1 Answers

I assume the method you are looking for is under the Scrollable configuration (it is there because one Grid needs to be scrollable if you want it to have height)

.Scrollable(scr=>scr.Height(230)) 
like image 187
Petur Subev Avatar answered Sep 19 '22 12:09

Petur Subev