Project

General

Profile

Support #2939

how to create CheckBoxList

Added by Andrey Gavrilin about 8 years ago. Updated about 8 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
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

Also available in: Atom PDF