i use this offical example https://doc.qt.io/qtforpython-6/examples/example_widgets_itemviews_jsonmodel.html then i want to make vaule be clicked in QTreeView by a specific value。like this enter image description here
maybe it means update treeView's currentIndex
i tried this way ,but QModelIndex can not be updated
index = QModelIndex(3,3,QModelIndex()) view.setCurrentIndex(index)
sorry , my English is not good