Unsolved Footer for section in TableView
-
Hello,
Is there any way to create
footer
forsection
or any other way to get additional row on the end of section?I have a created section for
TableView
and i want to have additional button to add /remove data on the end of every section.Edit: I'm using
TableView
formQtQuick.Control 1.4
-
@goodguy
I don't do QML. But two weeks ago I asked for footers in widgetsQTableView
(https://forum.qt.io/topic/104869/any-way-a-database-model-qtableview-could-have-an-extra-total-row), and there aren't any.I don't know if that indicates the same might be true of a QML
TableView
. https://stackoverflow.com/questions/8089522/qml-listview-header-and-footer-items talks about footers for QMLListView
, I don't know if that applies toTableView
. For Qt 5.9 I see https://doc-snapshots.qt.io/qt5-5.9/qml-qtquick-controls-tableview.html#contentFooter-prop, does that apply? -
Hi @JonB
Thank you for answer. Unfortunetly
ContentFooter
property is only for wholeTableView
.I could solve this by declarate
delegate
asTableView
/ListView
but i feel like it will complicate my model, so i want to avoid this if it's possible.