Project

General

Profile

Checkboxes in WSelectionBox

Added by PAL I about 12 years ago

Hi,

I want to display checkboxes in WselectionBox as its items. I tried using WStandardItem,setting its data for DisplayRole and EditRole as WCheckbox, but it still renders them as Strings. Please can anyone help me with this?


Replies (1)

RE: Checkboxes in WSelectionBox - Added by Wim Dumon about 12 years ago

Hello,

That's not supported in a WSelectionBox. Not all views can understand all features that a model offers. Can you use a WTableView instead? That should support the checkboxes.

Br,

Wim.

    (1-1/1)