I have the need to throw away the last row (or rows) of a list grid when there is no underlying record and the edit record is also empty before I save edits or perform a manual validation.
In other words, setup the grid to not do any automatic save and enable adding new rows with tab or arrow. Enter a valid row and tab on to start a new edit row. Press the up arrow and the empty new row fails validation. The same thing can occur by tabbing through the empty row triggering another new row.
In both cases I want to throw those new, empty rows away before I validate or try to save the edits. The editors (edit-by-row in this case) may or may not be in the rows in question.
Does anyone have pointers on this?
Thanks
dave