The reference demo is like this:
TreeView {
TableViewColumn {
title: "Name"
role: "fileName"
width: 300
}
TableViewColumn {
title: "Permissions"
role: "filePermissions"
width: 100
}
model: fileSystemModel
}
I want to change the fileSystemModel
to my self-defined model. How I should do this? Thanks.