Actions
Feature #2800
closedHiding an entry within a WComboBox
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
Updated by Koen Deforche almost 11 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
Updated by Koen Deforche over 10 years ago
- Target version changed from 3.3.3 to 3.3.4
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