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?
ThanksMike
Hi Mike,
I answer almost the same question yesterday: AllowAddNew row disabled when datatable contains zero rows - Windows Forms - WinGrid
If those suggestions don't help, then could you possibly post a small sample project demonstrating the issue so I can check it out and find a solution?
The other link is related [much worse] but not the same.
I have no trouble entering data in the NewRow row. The problem is that after entering the data for first row I have no way to move it to the 'existing data' part of the grid so that I can enter the next new row. (Other than clicking Update)
My users are used to adding many rows at once so they dont want to have to press Update for the first row on its own, and then add the remaining rows before pressing Update again.