I am using GWT 2.5.1 I have been struggling with this for hours now. How do you disable and/or hide a MenuItem in GWT.
menuItem.setEnabled(false); // DOES NOT WORK !!! menuItem.setVisible(false); // DOES NOT WORK !!! UIObject.setVisible(menuItem.getElement(), false); // DOES NOT WORK !!! Why ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
