Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
New Row Problem: Need to supress calling the datasource until row has been checked
posted

I have a grid bound to a class that implements the IBindingList interface.

If I put the cursor on a cell of the add new row...it instantly tells the bound class to add a new row...even if I dont enter any data...

I end up saving new empty rows...

Simple enough to clean them out when saving the data by sniffing the empty rows and dumping them...

Would be better to be able to supress the binding update unless or until there is actual data put in the cell...

Of course the grid needs the new row to actually be able to type into it so to speak...but is there anyway to make the grid clean up after itself if the user does not enter data in the cell.  

Any suggestions?

CW