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

Wrap in HtmlEditor Column

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
NVB
Top achievements
Rank 1
NVB asked on 23 Jun 2012, 03:33 PM
I have a notes field. I am using gridhtmleditor column to display and edit.

1)  For some reason wrap is not working in the column and data is flown in single line if thee is no carriage return.
Am I missing some thing
Here is my declaration of column

<telerik:GridHTMLEditorColumn UniqueName="Notes" DataField="NOTE_DESC" SortExpression="NOTE_DESC"
HeaderStyle-Width="600px" ColumnEditorID="GridHtmlEditor1" ItemStyle-Wrap="true"

</telerik:GridHTMLEditorColumn>

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 28 Jun 2012, 06:18 AM
Hello Vemula,

The text in the table cell won't be wrapped if there is neither carriage return nor blank space. So if you have blank spaces in the text, it should wrap all right, if you do not - browsers do not support this scenario. You might consider displaying the long text with ellipsis. One possible approach is demonstrated in the following post:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/grid-column-no-wrap-ellipsis.aspx#1108125

Hope it helps.

Regards,
Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
NVB
Top achievements
Rank 1
answered on 29 Jun 2012, 03:10 AM
Thanks for the reply.
Yes the text is wrapping if there is space
I will try using ellipise method as you suggested if need arise

Thanks
Tags
General Discussions
Asked by
NVB
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
NVB
Top achievements
Rank 1
Share this question
or