Hello,
I'm trying to disable the combo box on the client, and having it look disabled (using the italicized font, which I have been able to setup). I manually invoke the requesting of items from the web service, and on the itemsrequested client-side event, I do this:
I'm trying to disable the combo box on the client, and having it look disabled (using the italicized font, which I have been able to setup). I manually invoke the requesting of items from the web service, and on the itemsrequested client-side event, I do this:
function
itemsRequested(sender, e) {
if (sender.get_items().get_count() == 0) {
sender.set_enabled(
false);
return;
}
}
This actually runs, but the UI of the combo doesn't change to the new style... do I have to programmably do it?
Thanks.