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

[Solved] Row height auto-resize?

1 Answer 813 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 2
Paul asked on 24 Sep 2014, 01:39 PM
I've just upgraded from version 2014.1.318 to 2014.2.903 of the UI controls and the height of the rows within a grid has now changed to be dynamic, rather than a static height. There's an in-line attribute added, whereas previously any content longer than the cell length was shown as ellipses...

The image titled "ellip" shows how the grid used to look. "non ellip" shows how it appears now - is there a property on the grid that I can set to get that functionality back? Or somewhere in the script files I can just remove the code from?

I also posted this on Stack Overflow to cover all my bases.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 25 Sep 2014, 10:48 AM
Hi Paul,

In order to achieve the expected result you can use the following CSS rule: 
.k-grid td {
    white-space: nowrap;
    text-overflow: ellipsis;
}

Regards,
Iliana Nikolova
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
Paul
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Share this question
or