Re: [Interest] TableView has no rows/columns when initial modelChanged is emitted, bug?

2016-06-13 Thread Elvis Stansvik
As a follow-up to my own mail: It seems the following note from the docs applies to the initial modelChanged: "Depending on how the model is populated, the model may not be ready when TableView Component.onCompleted is called. In that case you may need to delay the call to positionViewAtRow by usi

Re: [Interest] TableView has no rows/columns when initial modelChanged is emitted, bug?

2016-06-08 Thread Elvis Stansvik
2016-06-08 9:46 GMT+02:00 Elvis Stansvik : > Hi all, > > Consider the following: > > import QtQuick 2.4 > import QtQuick.Window 2.2 > import QtQuick.Controls 1.3 > > Window { > width: 500 > height: 500 > > ListModel { > id: libraryModel > ListElement { > titl

[Interest] TableView has no rows/columns when initial modelChanged is emitted, bug?

2016-06-08 Thread Elvis Stansvik
Hi all, Consider the following: import QtQuick 2.4 import QtQuick.Window 2.2 import QtQuick.Controls 1.3 Window { width: 500 height: 500 ListModel { id: libraryModel ListElement { title: "A Masterpiece" } } TableView { model: libr