Hi,
I am displaying some Data in grid. By default the first row is showing as selected with some colour.
I want remove the colour and show the grid without any selected row.
Please help me.
The default preset applies the appearance to the main Override (grid.DisplayLayout.Override), not on the specific band, so you should try resetting those.
-Matt
I am writing the below code like this in Grid_InitializeLayout()
Grid.DisplayLayout.Bands[0].Override.ActiveCellAppearance.Reset();
Grid.DisplayLayout.Bands[0].Override.ActiveRowAppearance.Reset();
But it is not working . Still the first row appearin g as selected having some color.
Please Help.
Regards,
Faiz Ahmad
This is likely the active row, not selected. You should probably reset the grid.DisplayLayout.Override.ActiveCellAppearance and ActiveRowAppearance.