import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Qt.labs.qmlmodels 1.0
Window {
width: 640
height: 480
visible: true
title: qsTr("quick2 TableView demo")
TableModel {
id:tableModel1
TableModelColumn { display: "name" }
TableModelColumn { display: "color" }
TableModelColumn { display: "age" }
rows: [
{
"name": "cat",
"color": "black",
"age":1
},
{
"name": "dog",