qml tableview dynamic qml TableView dynamic

The solution for “qml tableview dynamic qml TableView dynamic” can be found here. The following code will assist you in solving the problem.

Component
{
id: columnComponent
TableViewColumn{width: 100 }
}

TableView {
id: view
anchors.fill: parent
resources:
{
var roleList = myModel.customRoleNames
var temp = []
for(var i=0; i=0;i–){
if(titles.indexOf(curTitles[i])==-1){
removeColumn(i)
}
}
}
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in