ValueListBox doesn't implement HasEnabled interface, so I can't disable/enable it.
And although ListBox implements HasEnabled, method getListBox is private in ValueListBox. So I cannot get inner listBox, to disable it.
Anyone knows how to solve this problem? Thanks in advance.
You can do the following:
DOM.setElementPropertyBoolean(valueListBoxObject.getElement(), "disabled", boolean)
Rest GWT should add a method, which isn't there for now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With