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
1015
How to Prevent Multiple New Rows from being added to an UltraGrid
posted

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.

Parents
  • 20872
    Verified Answer
    Offline posted

    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.

Reply Children