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

[Solved] Wrap Text and Max Height

1 Answer 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 12 Sep 2011, 10:21 AM
I have a Rad Grid I'm working with.  One of the columns I have sometimes has a lot a text in it.  I would like to have the text wrap and the row height set to a maximum.  When the maximum is reached I would like a vertical scroll bar to appear.  Is this possible?  When wrap text is turned off, even with a scroll bar turned on, the text appears on one long line.  When I turn wrap text on, The text makes the row taller, and if it fills the gird a scroll bar comes on, but it seems to ignore the max height setting

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Sep 2011, 10:26 AM
Hello Michael,

I have tested the scenario that you described. I set a maximum value for the Height of the row. Then the text is wrapped up to the maximum value, not more. What do you mean by the statement that the max height setting is ignored? Do you mean the scroll bar of the GridView in you question?

 May you please provide some code snippets, so that we may see what your scenario is?

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or