how to make first row constant in dynamic table model in qml?
Unsolved
QML and Qt Quick
-
TableView {
anchors.fill: parent x:100;y:100 columnSpacing: 1 rowSpacing: 1 clip: true //anchors.centerIn: parent model: TableModel {} delegate: Rectangle { //anchors.centerIn: parent implicitWidth: 100 implicitHeight: 50 border.color: "black" color: (heading==true)?"lightblue":"lightgreen" Text { text: tabledata anchors.centerIn: parent } }
}