Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.2, 5.13.0 Beta 1
Description
ListView/GridView/TableVIew's delegates attached properties like index, row, column are not accessible outside of the delegate, for example in case of drag and drop, drag.source.index is undefined same with any of the roles.
The reason is that row/column/index/model roles properties are "injected" into the context of the delegate item from the model classes, in a bit weird way. And this context is only available from inside the delegate item, and not when they are accessed into the item from the outside.
This is a know limitation, so the documentation should mention it.