Datagridview cellvalidating not working
To do that, I need a sample project, which demonstrates the issue.
Could you strip only a part of your code and send it as a small example to allow us looking into this issue?
When a cell is modified in any way it is automatically marked as "dirty", when you call data Grid. Validate() you are telling to to check all of the cells which have been modified! If you are saying that this is not happening correctly, or you still want to bypass this great, amazing, fantabulous feature let us know!
event, which enables the control look up values in the data cache.
Some standard Data Grid View events (such as events that occur when users add or delete rows, or when cell values are edited, parsed, validated, or formatted) are useful in virtual mode, as well.
This event occurs only for cells in unbound columns.
For more information about implementing virtual mode to manage read/write data with a row-level commit scope, see Walkthrough: Implementing Virtual Mode in the Windows Forms Data Grid View Control.
For an example that implements virtual mode with a cell-level commit scope, see the Virtual Mode property reference topic.
Cell and row error glyphs are displayed when the Show Cell Errors and Show Row Errors property values are Used by the control to retrieve or store row height information in the data cache.
Call the Update Row Height Info method when changing the cached row height information outside of a Row Height Info Pushed event handler to ensure that the current value is used in the display of the control.