Project

General

Profile

Actions

Feature #2800

closed

Hiding an entry within a WComboBox

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

  • Target version changed from 3.3.3 to 3.3.4
Actions #3

Updated by Michael Vilsker over 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