How to sort TableModel QML Type

David Redondo kde at david-redondo.de
Mon Oct 19 07:51:01 BST 2020


Am Samstag, 17. Oktober 2020, 20:38:43 CEST schrieb chiasa.men:
> Is there a way to sort a TableModel without relying on c++ code?

Hi, 
we have QSortFilterProxyModel bindings in KItemModels, which makes it easy to 
create and use such a proxy model from Qml: https://api.kde.org/frameworks/
kitemmodels/html/ksortfilterproxymodel_8h_source.html

Best Regards,
David




More information about the Kde-frameworks-devel mailing list