check mark not displaying when unbound boolean datagrid column is checked
-
I have a windows form with a datagrid control. I bind the grid to my datasource and then add 2 unbound boolean columns. I create a tablestyle so that I can display these columns (Edit, Delete) in columns 0 and 1 before the bound columns. I can check the check box in the column and it branches to where I want it to go, but unless the row and column coordinates are (0,0) it does not display the check mark until I exit my other app and return to the grid. I displayed the value in the column and it is set to True. I added the code from http://msdn2.microsoft.com/en-us/library/ms996485.aspx to make the check box respond to one click. How do I get it to show the mark prior to the DataGrid MouseUp Event? That's where I branch to my other app. I have turned off tristate. I want the user to see the check mark when they first click the check box. Thanks.
-
I have a windows form with a datagrid control. I bind the grid to my datasource and then add 2 unbound boolean columns. I create a tablestyle so that I can display these columns (Edit, Delete) in columns 0 and 1 before the bound columns. I can check the check box in the column and it branches to where I want it to go, but unless the row and column coordinates are (0,0) it does not display the check mark until I exit my other app and return to the grid. I displayed the value in the column and it is set to True. I added the code from http://msdn2.microsoft.com/en-us/library/ms996485.aspx to make the check box respond to one click. How do I get it to show the mark prior to the DataGrid MouseUp Event? That's where I branch to my other app. I have turned off tristate. I want the user to see the check mark when they first click the check box. Thanks.