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
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
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