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
926
Turnoff the highlight on the first row of the grid.
posted

Hello,

How can I turn off the highlight(golden - yellow color) on the first row of the grid. I tried reseting the " ActiveCellAppearance" and the "ActiveRowAppearance" in the override of the displaylayout of the grid ?

But I still see that the first row is always highligted.

Thanks

-Manju

Parents
No Data
Reply
  • 280
    posted
     Hello Manju,

    The ActiveRowAppearance by default has no colour difference from all other rows in the grid, the only thing that differentiates them is the row's boarder.

    What you need is the SelectedRowAppearence but instead of changing the Appearance try the following:

    yourGrid.Selected.Rows.Clear();

     

    I propose this solution with the assumption that you are referring to the highlight of the first row when you fill the grid’s DataSource, If this is false, please elaborate us a bit more.

     

    Nassos
Children