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
85
header colour
posted
Is it posible to change header colour in run time in WebDataGrid ?

How to get reference of header row ?

 

  • 14049
    Offline posted
    There is no public property that would hold a reference to the header
    element. You could still get around by using protected fields.
    Here is how to get the header element reference:

    var grid = $find("WebDataGrid1");
    var column = grid.get_columns().get_columnFromKey("ID");
    var headerElement = column._headerElement;

    Please submit a feature request for the public property for the element.
    Thanks.