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

How to get consistent row heights.

2 Answers 117 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rod Yager
Top achievements
Rank 1
Rod Yager asked on 15 Jun 2011, 07:00 PM
I would like my GiridView to display a single row that cannot be stretched vertically by it's contents. I tried setting the TextWrapping and TextTrimming properties on the GridViewDataColumn, but it only seems to apply to the very first line of text. If the value contains carraige returns, then the cell grows vertically. I want to have all uniform one line entries.

Thanks,
Rod

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Jun 2011, 06:39 AM
Hi,

 Have you tried RowHeight or Min/Max height for the rows? 

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rod Yager
Top achievements
Rank 1
answered on 17 Jun 2011, 03:10 PM
Vlad, that may work, but I would be concerned about hard coding the row height if the text size where ever to change. I want the row height to stay as one row but resize vertically as necessary with the font size.
Tags
GridView
Asked by
Rod Yager
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rod Yager
Top achievements
Rank 1
Share this question
or