embedded formating strings in gridview

2 posts, 0 answers
  1. Joe
    Joe avatar
    52 posts
    Member since:
    Feb 2012

    Posted 03 Sep 2014 Link to this post


    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.

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3167 posts

    Posted 04 Sep 2014 Link to this post

    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.

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