Hello,
I currently have two grids, one at the top and one at the bottom.
I have fifty rows in the bottom grid, and 'n' rows in the top grid.
On clicking "Add rows" button, I need to add the 50 rows in the bottom grid to the top grid, and color the newly added rows.
Then, I need to remove all rows in the bottom grid.
I am using QStandardItemModel as the source model for the two grids.
I tried using "insertrow" from the qstandarditemmodel, to pass qstandarditem values obtained from the second grid, to the function.
It still takes about one second, for as less as 50 rows to update an existing model with new rows.
Is there a way to do this quickly?
Thanks,
Padma
Bookmarks