Skip to content

Add a sort role to KColumnHeadersModel

Arjen Hiemstra requested to merge work/ahiemstra/sortrole into master

This adds a sortColumn and sortOrder property to KColumnHeadersModel that, when set, will expose a sort role on the provided column. This allows the model to be used by QtQuick Controls' HorizontalHeaderView to display a sort indicator.

Merge request reports