Wrap in HtmlEditor Column

3 posts, 1 answers
  1. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 23 Jun 2012 Link to this post

    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. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 28 Jun 2012 Link to this post

    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.
  3. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 28 Jun 2012 Link to this post

    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
Back to Top