bppgrid
bppgrid copied to clipboard
Usage with a dynamic c++ model
Hello,
I see that you can populate the grid with those function:
- fillFromArray (for js array of array, representing cells)
- fillFromQuery (for Db query)
- fillFromJson (for js array of js objects)
- fillFromListModel (for a ListModel)
but it appears that even for the last one it makes a static copy of the elements of the model.
I would like to be able to specify a model (QAbstractListModel, or QAbstractTableModel) and the grid be updated when rows are inserted/removed or data changed. Like the classical model/view pattern of Qt.
Is that not possible?