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
1745
How to load multiple rows to an empty UltraGrid
posted

I bind an ultraGrid to a DataTable via a DataAdapter.

And set the following options:
     grid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.FixedAddRowOnTop
     grid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect

The user is allowed to make as many changes/additions as they want before manually clicking 'Update'. (No auto update)

If the underlying table already contains rows I can add multiple rows to it by simply entering the first row and then moving focus to the existing rows part of the grid. This causes it to 'reset' the AddNewRow area ready for me to enter the next new row. 

If the table is empty however I can only add 1 new row before I am forced to manually update the table.
Until I perform the update I can't find any way to move that first row out of the 'AddNewRow' area so that I can add a second new row.

Is there any way to force the row to be moved when the 'existing rows' part of the grid does not exist?

Thanks
Mike

 

Parents Reply Children
No Data