How to trigger "add" transition in Listview if my model is a c++ model ("QSortFilterProxyModel" )?
Unsolved
General and Desktop
-
Hi All,
in my Application iam exposing a cpp "QSortFilterProxyModel" to qml,then iam using this as a model to "listview" in QML.
my problem is , if i add a new row(using insertrows() method ) into table, "add" transition (i have assigned a "transition" with "PropertyAnimation" to "add" property ) in listview is not showing up(similar case with removerows()).
what might be the issue ? -
Do you use beginInsertRows() and endInsertRows() in your row adding method?