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

Problem: Wraptext cut 1/2 last line

1 Answer 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 12 Jul 2010, 03:40 PM
Hello, I wrap text just like that:

radGridView1.AutoSizeRows = true;
foreach (GridViewColumn column in radGridView1.Columns)          
    {
               
column.WrapText = true;
    }


and in header cell last line is 1/2 cut (example in the image)
Thanks for help

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 15 Jul 2010, 03:47 PM
Hi Marcin,

Thank you for writing.

When you have wrapped text, you should make sure that the grid cell has enough height to avoid a cut. You can specify header row height as shown below:
this.radGridView1.MasterGridViewInfo.TableHeaderRow.Height = 50;

I hope this helps. Let me know if you have any additional questions.

Sincerely yours,
Martin Vasilev
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
Tags
GridView
Asked by
Marcin
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or