Posted 5 February 2019, 10:50 am EST
Hi,
Is it possible to change backcolor of specific cell when row is selected means highlighted style applied on that row.
I am using C1FlexGrid (4.6) on winforms.
Forums Home / ComponentOne / WinForms Edition
Posted by: sourabhdwi on 5 February 2019, 10:50 am EST
Posted 5 February 2019, 10:50 am EST
Hi,
Is it possible to change backcolor of specific cell when row is selected means highlighted style applied on that row.
I am using C1FlexGrid (4.6) on winforms.
Posted 6 February 2019, 4:35 am EST
Hello,
Sorry to mention that it is not possible to change the color of a specific cell of the highlighted row.
Thanks.
Posted 7 February 2019, 6:08 am EST
Hi,
In case your requirement is to change the BackColor of the clicked cell when the grid’s SelectionMode is set to Row, you can use the BackColor property of the grid’s Focus style as follows:
_flexGrid.Styles.Focus.BackColor = Color.Yellow; //color of your choice
Please let me know if you are looking for something else.
Thanks,
Pragati