Is there a way to check if the last row in the UltraGrid is a new row, to prevent multiple blank new rows from being added consecutively?
Currently using Infragistics 11.2 controls.
Hello medwards11,
I am not completely sure what exactly is happening at your end, but there is a property which by default is set to False, that determine if the UltraGrid will be fill the empty space out with an empty rows and it seems to me that in your case this is set to True.
What you could do is setting this property to False, or Resetting the EmptyRowSettings in the InitializeLayout event like:
e.Layout.EmptyRowSettings.ShowEmptyRows = true; or e.Layout.EmptyRowSettings.Reset();
If this doesn't help, please feel free to let me know.
Thanks for checking up on the thread, though the answer that you suggested didn't really fit what I was needing. The properties you mentioned were set how they were supposed to be, but they didn't resolve the issue I was having.
I did adapt my code to handle the error I was having whenever an empty row existed at the time of a "save" though.