Posted 3 June 2021, 3:23 pm EST
W10, 64 bit, VS2019, C1FlexGrid V4.6
I am using an unbound C1FlexGrid (great component) and would like to programmatically change the state of a check box. No problem changing the back ground color like this:
MyForm.FlexGrid.SetCellStyle(row, column, styleRed);
but after I set the background color I would like to change the state of the existing check box in the same cell like this but it doesn’t work:
MyForm.FlexGrid.SetCellCheck(row, column, CheckEnum.Checked);
When I change the state of the check box I would like the MouseClick event to execute. With the SetCellCheck statement, the MouseClick event does not fire and the state of the check box is unchanged.
How do I accomplish this?
Jim