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
Change background color on specific cell in the AddNewRow

How can I change the background color (CSSClass) of a specific cell in the AddNewRow row?

No Data
  • 16050
    Offline posted


    You can apply a custom css class through the AddNewRowCssClass property exposed by the RowAdding behavior, or you can use a css selector, as explained in the WebDataGrid CSS Styling Guide.

    An example of how to color the first cell in the AddNEwRow using the AddNewRowCssClass:

    <ig:RowAdding AddNewRowCssClass="NewClass">


    tbody > tr.NewClass > td:first-child
        background-color: Red;

    Please let me know if you have further questions.

No Data