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

Special Text formatting in table

5 Answers 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex Mitchell
Top achievements
Rank 1
Alex Mitchell asked on 16 Jun 2010, 09:51 PM
I was wondering if there was a way I could use html to do special formatting in a table like i can with a htmltextbox. What I am want to do is bold and cent certain phrases in my table but i want everything else to be left normal. If there is anyway I can do this then that would be much appreciated.

Alex

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Jun 2010, 12:38 PM
Hi Alex Mitchell,

We are not sure we have correctly understood your question. If you want to change the text format depending on it's content you can use Conditional Formatting. If you want to conditionally format just part of the value this is not achievable with the HtmlTextBox item and in fact with any software that offers conditional formatting. The HtmlTextBox purpose is only to render HTML. Our suggestion in this case would be to prepare your data accordingly prior to populating the report.

Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Alex Mitchell
Top achievements
Rank 1
answered on 18 Jun 2010, 03:41 PM
I understand. What I was asking for was a way to render text with special formatters like you can in HTMLTextBoxes such as adding the <b> tags in order to bold only certain words. I was wondering if there was some way i could do this in a Table.

Alex
0
Steve
Telerik team
answered on 18 Jun 2010, 05:21 PM
Hello Alex Mitchell,

The Table/Crosstab/List data items can "host" any report item. Their default template consists of TextBox items, but you can replace them with HtmlTextBoxes by dragging & dropping the HtmlTextBox over the desired cell in the table.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Yifan
Top achievements
Rank 1
answered on 20 Oct 2017, 05:16 PM

Hi,

 

Just wondering if it is possible to format partial cell value inside the table for Telerik reporting. For example i retrieved a string like "Product1: name1, name2 etc." from database and want to bold "Product1" only. Is that achievable?

 

Regards,

 

Dominic

0
Katia
Telerik team
answered on 23 Oct 2017, 12:22 PM
Hi Dominic,

Formatting a part of the text is possible using HtmlTextBox item. This item accepts HTML-formatted text where the tags and attributes need to be considered with item's limitations.

Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Alex Mitchell
Top achievements
Rank 1
Answers by
Peter
Telerik team
Alex Mitchell
Top achievements
Rank 1
Steve
Telerik team
Yifan
Top achievements
Rank 1
Katia
Telerik team
Share this question
or