Project

General

Profile

Feature #2800

Hiding an entry within a WComboBox

Added by Stefan Ruppert over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Michael Vilsker
Target version:
Start date:
03/11/2014
Due date:
% Done:

0%

Estimated time:

Description

Hiding an option within Firefox and Chrome works by setting display attribute to none. With IE and Opera this does not work. Maybe you can implement a Hidden flag in WStringListModel/WAbstractItemModel and the default is to remove the complete option and in Firefox and Chrome you can just set the display attribute to none?

Regards,

Stefan

#1

Updated by Koen Deforche over 8 years ago

  • Status changed from New to InProgress
  • Assignee set to Michael Vilsker
  • Target version set to 3.3.3

Michael,

Actually I prefer the .disabled property to be based on the ItemIsSelectable flag of the model, since that works cross-browser?

Koen

#2

Updated by Koen Deforche about 8 years ago

  • Target version changed from 3.3.3 to 3.3.4
#3

Updated by Michael Vilsker about 8 years ago

  • Status changed from InProgress to Closed

It was already implemented for disable items.

Just remove ItemIsSelectable from flag set if you override flags() in a model.

Hiding will not be implemented.

Also available in: Atom PDF