Actions
Support #13098
openSelect an element of a WTableView
Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/10/2024
Due date:
% Done:
0%
Estimated time:
Description
Hi ,
Given a WTableView, how do I select a particular row programmatically? I tried using select or setSelectedIndexes, but I have no clue how to create the WModelIndex class to indicate it.
Thanks in advance
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from New to Feedback
Hello Fier,
getting a WModelIndex will be done through the model that sets the items in the view. This will depend a little on which model is being used.
You can take a look at for example:
Actions