Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a winforms window with three tabs. All the three tabs have datagridviews. In first 2 tabs the datgridview is in virtual mode. While the last tabs datagridview is databound. All these DataGrids have checkbox column(column0). On 1 machine the checkbox in the row0 does not get checked or unchecked. Sorting the datagridview does not help either even though there is new data in row0 the checkbox does not respond. This happens in all 3 datagridviews.

It appears checkbox is not changing state upon mouse click however pressing space on the checkbox of row0 does check it.

Both the machines run win 7, similar hardware. The application uses .NET 3.5. I am not sure what else to look for!!

For the virtual mode grids the events that are being handled are CellValuePushed, CellMouseDown, CurrentCellDirtyStateChanged, CellValueNeeded,CellValueChanged,CellFormatting.

While in databound grid has CellValueChanged & CellFormatting events handled.


Cannot understand what is the issue! help
Posted
Updated 1-Mar-16 23:29pm
Comments
Yashashwi Srivastava 2-Mar-16 5:30am    
Please mention the technology used ( winforms or WPF)? Does the collection bound to your datagridview, get updated when checking or unchecking the check box. Please share your code too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900