Actions
Support #648
closedHow to add checkbox column in WTableView?
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/17/2010
Due date:
% Done:
0%
Estimated time:
Description
I am new user of WT, as checkbox column is so often used in tableview,is there any simple and convenient method to add checkbox column in tableview?
Thanks!
Best Regards!
Updated by Thomas Suckow over 14 years ago
Look into the flag ItemIsUserCheckable for the column in your data model, I don't know if it is what you want.
If it doesn't give you what you want then it wouldn't be too hard to make a CheckBox specialization of WAbstractItemDelegate. But there may be other ways that are easier that I don't know of.
Updated by Koen Deforche over 14 years ago
- Status changed from New to Resolved
Marking as Resolved since Thomas' solution could very well be what Saxon is looking for ? An example of the checkbox column is available in the treeview example.
Updated by Koen Deforche over 14 years ago
- Status changed from Resolved to Closed
Actions