How to modify the css of the GroupHeader?

2 posts, 0 answers
  1. Wagner Sena
    Wagner Sena avatar
    5 posts
    Member since:
    Jul 2009

    Posted 14 Apr 2011 Link to this post

    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Apr 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top