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

Multi Colored Text in a RadGridView

5 Answers 213 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Craig Finnigan
Top achievements
Rank 1
Craig Finnigan asked on 24 Mar 2009, 11:03 PM
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.

5 Answers, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 25 Mar 2009, 01:23 PM
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.
0
Craig Finnigan
Top achievements
Rank 1
answered on 25 Mar 2009, 08:14 PM
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?
0
Jack
Telerik team
answered on 26 Mar 2009, 10:41 AM
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.
0
Craig Finnigan
Top achievements
Rank 1
answered on 20 Apr 2009, 10:13 PM
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?
0
Jack
Telerik team
answered on 21 Apr 2009, 02:26 PM
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.
Tags
GridView
Asked by
Craig Finnigan
Top achievements
Rank 1
Answers by
Jack
Telerik team
Craig Finnigan
Top achievements
Rank 1
Share this question
or