import QtQuick 2.3 import QtQuick.Window 2.1 import QtQuick.Controls 1.2 Window{ width: 538 height: 360 ListModel { id: largeModel Component.onCompleted: { for (var i=0 ; i< 500 ; ++i) largeModel.append({"name":"Person "+i , "age": Math.round(Math.random()*100), "gender": Math.random()>0.5 ? "Male" : "Female"}) } } TableView { model: largeModel anchors.margins: 12 anchors.fill:parent frameVisible: frameCheckbox.checked headerVisible: headerCheckbox.checked sortIndicatorVisible: sortableCheckbox.checked alternatingRowColors: alternateCheckbox.checked TableViewColumn { role: "name" title: "Name" width: 120 } TableViewColumn { role: "age" title: "Age" width: 120 } TableViewColumn { role: "gender" title: "Gender" width: 120 } itemDelegate: TextField{ } } }