Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.2.0
-
None
-
Windows 7 64 bit.
Description
http://qt-project.org/doc/qt-5/qml-qtquick-controls-tableview.html#selection-prop
The value of the count property of the selection property of a TableView, only gets updated on the clicking or release of a mouse click after selecting rows. It would be convenient to have real-time updating of that value for a truly dynamic 'items selected' status message (for example in a status bar at the bottom of the table). Thus the following code to achieve that is currently not enough.
Text {
text: someTableView.selection.count
}
This seems to be related to the fact that the selectionChanged()signal only gets fired when clicking or releasing the mouse click.
P.S.: the selectionMode: property has a red squiggle beneath it. It works though.