DataGridView - IsCurrentRowDirty is not set to true

0
0

HI,

I am trying to implement auto-save option for grid (databound to binding source).

Currently in RowLeave event (which is triggered correctly) I am trying to check if  IsCurrentRowDirty == true.

But in all cases, for changed and unchanged rows it is always false.

Anything that I need to specify/set to have this working OK?

 

Thanx,

D

  • You must to post comments
0
0

If I tap to RowValidated again the row is not dirty.

How can I make sure that in RowValidating row contents is ok so that I can save it?

Thanx,

D

  • You must to post comments
0
0

RowLeave fires after RowValidating and RowValidated. Once validate it’s not dirty anymore.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.