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

[Solved] Want fixed columns and text to wrap

2 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anders
Top achievements
Rank 1
Anders asked on 30 Jun 2009, 06:06 AM
I want all RadGrids on my site to have fixed sized columns and that text should wrap to a new line if a word or sentence is to long. Which style should I use?

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 30 Jun 2009, 07:42 AM
Hello Anders,

You can set the TableLayout property of the MasterTableView for the grid to true. The cell texts should automatically wrap provided there are spaces between the text. If the text is long(without spaces) then you can try out the approaches given in the following forum discussion link inorder to enable wrap :
http://www.telerik.com/community/forums/aspnet/grid/92286-column-width.aspx

Thanks
Princy.
0
Anders
Top achievements
Rank 1
answered on 30 Jun 2009, 09:35 AM
Thanks, that helped me!
Tags
Grid
Asked by
Anders
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Anders
Top achievements
Rank 1
Share this question
or