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
2045
WebDataGrid change Header backcolor in code behind
posted

I am using v14.2

Switching from old version where I use to set Header backcolor in server side based on SQL column data like this:

grid.Columns[_key].Header.Style.BackColor = Color.FromName(dr["CIColumnHeaderBackColor"].ToString());

New version has only CSSClass for styling.

How can I change Header back Color dynamically from server side?

Thanks