QML Tableview keys navigation
-
wrote on 16 Jul 2020, 19:14 last edited by
Hi There,
In QML tableview need to navigate using Left and Right arrow keys. Did not see any straightforward methods to do it.Previous version do see the Key navigation enabled inside tableview. Would like to understand what is difference how to handle inside QML Tableview.
Regards
Elangovan -
wrote on 17 Jul 2020, 00:05 last edited by
https://doc.qt.io/qt-5/qml-qtquick-keys.html
I use these in my MouseAreas as I process other user inputs but as per the documentation, this could be
Item {MouseArea { ... Keys.onPressed: { if (event.key === Qt.Key_Left) { ... Keys.onEscapePressed: { console.log("escapeItem is handling escape");
1/2