Project

General

Profile

Checkboxes in WSelectionBox

Added by PAL I over 11 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 over 11 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)