Create QML TableView from JS array best way. How?
-
Hello all!
How to make QML TableView if I have something like this in JS:
var oData = [ [1,2,3,4,5,6,7,8], [1,2,3,4,5,6,7,8], [1,2,3,4,5,6,7,8], [1,2,3,4,5,6,7,8], [1,2,3,4,5,6,7,8], ];
Or if my custom model return by index something like this:
[[1,2,3,4,5,6,7,8]]
The key point - there are nothing about roles, there are just one role where inside JavaScript Array (QVariantList).