Project

General

Profile

Actions

Feature #2800

closed

Hiding an entry within a WComboBox

Added by Stefan Ruppert about 10 years ago. Updated about 10 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

Actions #1

Updated by Koen Deforche about 10 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

Actions #2

Updated by Koen Deforche about 10 years ago

  • Target version changed from 3.3.3 to 3.3.4
Actions #3

Updated by Michael Vilsker about 10 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.

Actions

Also available in: Atom PDF