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

RadGridView Header Styling

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Purushothama
Top achievements
Rank 1
Purushothama asked on 26 Aug 2016, 03:47 PM

Hello,

I need to style a Grid Header Name. I have a Header Name as " Amount tax included". I need to apply styles only for string "tax included" .

Could you please let me know the possible ways to achieve this.?

I have attached the image.

Thanks in advance!!

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 31 Aug 2016, 10:34 AM
Hi Purushothama,

You can use one of the following approach to achieve this requirement:
<telerik:GridBoundColumn ...
    HeaderText="Amount <span style='color: red;'>tax included</span>">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn>
    <HeaderTemplate>
        Amount <span style="color: red;">tax included</span>
    </HeaderTemplate>
</telerik:GridTemplateColumn>

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Purushothama
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or