Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
Windows 7, x86, msvc2010, ANGLE
-
9bdbff5a14f340b6b12f1fcd84608d17bdc67d70
Description
In the TableView delegate model data points to the model object, but should point to the model element data for models like ListModel. Though, modelData points to the model element data for models like JavaScript Array.
Executing attached program results in following output:
JS Array model: [[object Object]] modelData: [object Object] ListModel model: QQmlListModel(0xf80350) modelData: test
Attachments
Issue Links
- relates to
-
QTBUG-44246 TableView: Impossible to access model's data from rowDelegate
- Closed