Hi all,I would like to have a setItemDisabled(int index, bool disable) method within WComboBox class. Thus an user cannot select such a disabled item from the WComboBox. The attached screenshot is from a Trac Custom Search page which shows this feature.
To implement this I would add a Wt::ItemFlag::ItemIsDisabled and add support for it within the WStringListModel (maybe a member std::vector<bool> disabled_?). Within the WComboBox class the updateDom() method should then set the PropertyDisabled if the item is disabled.
Any comments? Regards, Stefan
<<attachment: ComboBox-Disabled.png>>
------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest