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
395
Where do I change SelectedRowStyle-BackColor?
posted

HI all

How can I change SelectedRowStyle-BackColor of the WebDataGrid as it was possible in UltraWebGrid?

Thanks
Adrian

  • 33839
    Verified Answer
    posted

    Hi Adrian,

    You will need to either modify the css that the grid is using (ig_datagrid.css) or supply a custom css for SelectedCellCssClass.

    <style type="text/css">
            tbody tr td.custom
            {
                background-color :Red;
            }
        </style>

    <ig:Selection SelectedCellCssClass="custom">
                </ig:Selection>

    This will style each cell in a selected row if row selection is on.

    regards,
    David Young