Actions
Support #2939
openhow to create CheckBoxList
Start date:
04/15/2014
Due date:
% Done:
0%
Estimated time:
Description
Hello!
Could anybody help me and describe how to make CheckBoxList? I tried to use WSelectionBox and set WStandardItemModel and set
item->setCheckable(true);
item->setFlags(Wt::ItemIsUserCheckable);
But it doesn't work. Also i tried to use WTableView with WStandardItemModel and one column. CheckBoxes are displayed but it's not good solution for me. I'm new in wt and i need help. Maybe somebody already made CheckBoxList. I waiting for your advices and maybe short example?
Thanks for any help
Updated by Koen Deforche about 10 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
WSelectionBox indeed do not support CheckBoxes (it uses an HTML element which does not have support for that).
What's not good about the WTableView solution, perhaps it can be tweaked to be good?
Actions