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

embedded formating strings in gridview

1 Answer 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 03 Sep 2014, 12:51 PM
Hello;

Is there a way to embed formatting inside a cell, specifically a header cell?

I have some multiline headers using:
RadGridView1.MasterTemplate.Columns("ShippingDateRange").HeaderText = "Ship Date Range" & vbLf & "Not Before/After"
And it would be great to have the top line "Ship Date Range" be bold or a different color ect.

Thank you so much in advance for any thoughts or how others have addressed this need.

Joe

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Sep 2014, 03:00 PM
Hello Joe,

Thank you for writing.

It is possible to achieve specific text format for data and header rows by using the CellFormatting and the ViewCellFormatting events. Additionally, you can use our HTML-like text formatting functionality which allows you to color different text part with a desired color.

Regards,
Desislava
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Joe
Top achievements
Rank 2
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or