|
-
Jan 6th, 2016, 11:03 AM
#2
Re: VB.net DataGridView CellContentClick and CellValueChanged
Read the remarks section for CellValueChanged
https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx
Specifically
In the case of check box cells, however, you will typically want to handle the change immediately. To commit the change when the cell is clicked, you must handle the DataGridView.CurrentCellDirtyStateChanged event. In the handler, if the current cell is a check box cell, call the DataGridView.CommitEdit method and pass in the Commit value.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|