Details
-
Suggestion
-
Resolution: Unresolved
-
P5: Not important
-
None
-
5.4.1
-
None
-
Linux CentOS 7
Description
I currently have a use case where I need to display dynamic data in a grid like display, and where data positioning in each cell is important.
Currently GridView (and TableView. Nothing dynamic about having to hardcode specific columns) only supports a singular list (ListModel, QAbstractListModel, etc.). I need a view to be able to refer to the model with an index that has a column > 0 so to get a correct rowCount(). The data shouldn't have to be completely linear in a grid when my data places data using specific coordinates on a grid.
If this isn't possible, another suggestion would be to allow a Repeater to handle column referencing in a model, and add a function/variable to place an item in a specific row/column in a QML Grid object.