I have custom headerDelegate inside TableView. I need to access properties of TableViewColumn such as resizable property inside headerDelegate.
Is there any way to access this property inside headerDelegate?
Is it possible to access user defined properties in TableViewColumn inside headerDelegate?
For example can I create a user defined property called enableSorting inside TableViewColumn and access it inside headerDelegate in order to hide or show sortingIndicator?
UPDATE
TableView{
TableViewColumn{
property bool sortingEnabled: false
resizable: false
}
headerDelegate: Rectangle {
color: styleData.resizable?"red":"blue"
border.color:styleData.sortingEnabled?"red":"blue"
}
}
Here styleData.resizable & styleData.sortingEnabled are imaginary. I would like to get something like that.