kendoGrid column fix width

2 posts, 0 answers
  1. Krutika
    Krutika avatar
    3 posts
    Member since:
    Feb 2013

    Posted 18 Apr 2013 Link to this post


    i want fix width of column in kendoGrid, i tried using width:100px but when text is too long like
     (Ex. asgfsgdajhdkjashdasdklaskdljaslkdjlkasj) column width aoutomatically incresed,
     is there any way to handel overflow text or nowrap property to break text and add it to next line.
  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2308 posts

    Posted 18 Apr 2013 Link to this post

    Hi Krutika,

    This is the default behavior, when the table has a fixed layout (i.e. when the Grid is scrollable). If that is not the case, you could manually set the styles.
    #Grid table
      table-layout: fixed;
    #Grid td
      word-wrap: break-word;


    Kind 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