Multi Colored Text in a RadGridView

6 posts, 1 answers
  1. Craig Finnigan
    Craig Finnigan avatar
    14 posts
    Member since:
    May 2008

    Posted 24 Mar 2009 Link to this post

    Hello Everyone,
        I have spent the last two days reading threw both the help files and these forums.  So far I have not found a solution to my problem;
    I am currently working with the Q1 2009 RadGridView, and I need to build a cell that can support multipal lines of text.  Sounds easy enough, but here is the twist.  In the lines of text I need to be able to display text in multipal colors.  I was really looking forward to the HTML like text format, but to my dismay it looks as if the RadGridView will not support this.   Can Anyone help me out?  To be honest I am just about at the Newbee level of a VB coder and need to come up with some solution.

  2. Answer
    Jack
    Admin
    Jack avatar
    2191 posts
    Member since:
    Sep 2012

    Posted 25 Mar 2009 Link to this post

    Hello Craig Finnigan,

    Thank you for contacting us.

    There is no problem in displaying multiple lines in RadGridView cells. However, we do not support a multiline editor specific for this case.

    You can set the AutoSizeRows property of RadGridView to true to adjust the row height automatically. This property is useful when you set the WrapText property of the desired column to true.

    RadGridView supports also an HTML like syntax. You should set the DisableHTMLRendering property of the desired column to false to turn this feature on. Check the "Integration/HTML-like Formatting" example in our QSF and our documentation for details on the exact syntax.

    Should you have any further questions, I will be glad to answer.

    Greetings,
    Jack
    the Telerik team


    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

  3. Craig Finnigan
    Craig Finnigan avatar
    14 posts
    Member since:
    May 2008

    Posted 25 Mar 2009 Link to this post

    Thanks, 
        This worked exactly like I needed it to.  However, I still on one concern.  
    With the autoSize Rows set to true and word wrap set to true as well, I noticed that the contense of the cells becomes nonvisible when i resize the column width to fill the grids width.  It seems to be pushing the text of the cell above the cell and off of the control.  Is there any fix for this, or a word around?

  4. Jack
    Admin
    Jack avatar
    2191 posts
    Member since:
    Sep 2012

    Posted 26 Mar 2009 Link to this post

    Hi Craig,

    We are aware of this issue. It is being addressed right now and the fix will be available in our upcoming service pack in a couple of weeks.

    Should you have any other questions, feel free to write us.

    Regards,
    Jack
    the Telerik team


    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

  5. Craig Finnigan
    Craig Finnigan avatar
    14 posts
    Member since:
    May 2008

    Posted 20 Apr 2009 Link to this post

    I noticed that the new release is out, but after reading threw the release notes I did not notice any comments about the wordwrap and autosize issue being fixed.   Has this been looked at?

  6. Jack
    Admin
    Jack avatar
    2191 posts
    Member since:
    Sep 2012

    Posted 21 Apr 2009 Link to this post

    Hello Craig,

    Yes, the issue is addressed in our latest service pack - Q1 2009 SP1. Maybe you didn't find the issue in the  release notes because it is logged in the TPF section and not in RadGridView one.

    If you have other questions, don't hesitate to write us.

    Best wishes,
    Jack
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

Back to Top