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

table - full width and add x-scroll

1 Answer 146 Views
Grid
This is a migrated thread and some comments may be shown as answers.
alex
Top achievements
Rank 1
alex asked on 04 Apr 2016, 11:25 AM

Help me please.
how to stretch the contents of the table the full width and add x-scroll?

 

 

<style>

#grid {

overflow: scroll;

}

</style>

<div id="grid"></div>

 

 

                $("#grid").kendoGrid({
                    columns: _columnsObject,
                    dataSource: {
                        data: _dataSourceObject,
                        
                    },
                     resizable: true,
                     
                });

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Apr 2016, 04:03 PM
Hi,

In order to add horizontal scrollbar set larger column widths and apply a (min-)width style to the Grid table.

Further details on the matter are available in the Grid documentation:
http://docs.telerik.com/kendo-ui/getting-started/web/grid/walkthrough#scrolling
http://docs.telerik.com/kendo-ui/getting-started/web/grid/walkthrough#column-width

Regards,
Pavlina
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
alex
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or