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

How to modify the css of the GroupHeader?

1 Answer 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wagner Sena
Top achievements
Rank 2
Wagner Sena asked on 14 Apr 2011, 02:47 PM

Hi.
I am migrating a former asp:grid, and since some features must remain the same (or as close to it as possible), the style of the GroupHeader should be similar to the former.
I need to find a way to change de color and size of the text of the GroupHeader:

<SelectFields>
    <telerik:GridGroupByField FieldAlias="My Group Description" FieldName="MyField"></telerik:GridGroupByField>
</SelectFields>

Is there any avaiable property to perform such a customization? And if there's none, can I do it by changing the CSS (even if it means creating a custom grid css file)?

Many thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Apr 2011, 08:14 AM
Hello,

You can directly change the color and size of the GroupHeader using GroupHeader properties that are inherent in MasterTableView.Hope this code might help you.

C#:
<MasterTableView  GroupHeaderItemStyle-ForeColor="Blue" GroupHeaderItemStyle-Font-Size="XX-Large">
</MasterTableView>

Regards,
-Shinu.
Tags
Grid
Asked by
Wagner Sena
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or