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.
1 Answer, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 18 Apr 2013, 08:56 AM
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.
E.g.
#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!