In Kendo Grid, managing column width dynamicaly

2 posts, 0 answers
  1. Arun
    Arun avatar
    1 posts
    Member since:
    Jan 2012

    Posted 05 Apr 2013 Link to this post

    In Kendo Grid, How to automatically adjust the column width on the basis of the column data length and browser window width
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2284 posts

    Posted 05 Apr 2013 Link to this post

    Hello Ajay,


    You could achieve this if you disable the scrolling of the Grid. In this scenario the table element of the Grid will be with an "auto" table-layout, so the columns will expand and shrink according to their content.

    When the scrolling is enabled,the table layout is fixed, so any columns, that does not have an explicitly specified width will be equally wide.

    You could find additional information in the following topics, where my colleague Dimo has answered in detail:
    Grid Widths
    Dynamically resize kendo grid and columns

     

    Regards,
    Dimiter Madjarov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top