|
-
May 15th, 2013, 04:33 AM
#1
Thread Starter
Addicted Member
Hide next new row in DGV, while editing a new row.
My problem:
the user clicks add-new-row-button, and an empty new row is shown by setting the DGV.AllowUserAddRows to true and selecting the first cell to enter. As Soon as the user types the first letter in cell, the next new row gets displayed. I want the next new row to be hidden, as long as the current new row has not been finished.
I tried to set the AllowUserAddRows property of the DGV to False, as soon as the user Enters/starts-edit a cell in the just started new row, but this throws an exception
Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function.
Please give me some advice.
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
|