Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
WebDataGrid change header background color
posted

Hi,

I want change the header color in a webdatagrid.

I can change a header caption color but it is the other background (Blue).

You can see in the pic.

 

Picture

 

Thanks

 

Parents
No Data
Reply
  • 29417
    Verified Answer
    Offline posted

    Hello jorgepinto, 

    Thank you for posting in our forum. 

    For styling issues you can refer to the grid’s styling guide:

    http://www.infragistics.com/community/blogs/engineering/archive/2010/08/25/webdatagrid-css-styling-guide.aspx

     Specifically for the column’s header there’s a Header-CssClass property which you can apply to the column. If you set a class that sets the background color for that property for example:

    .Red

        {

            background-color:Red !important;

            }

    Then the whole header area for that column will be red.

     

    Let me know if you have any questions or concerns.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://www.infragistics.com/support

     

Children
No Data