I have one ui.xml containing UIMenuItem. Our customer does not want the button now. But we dont want to touch any java code.
How to make this UIMenuItem hidden?
Rough Code:
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:smt="urn:import:org.synthful.smartgwt.client.widgets" xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:km="urn:import:com.consona.ckm.contenteditor.client.core.view">
<smt:UIToolStripMenuButton ui:field="btnSaveMenu">
<smt:UIMenuItem ui:field="submitMenuItem" title="{resources.submit}" />
</smt:UIToolStripMenuButton>
I want to make submitMenuItem invisible. I tried by adding visible="false". But does not seem to work.
Smartgwt version 4, Chrome browser.
How to make this UIMenuItem hidden?
Rough Code:
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:smt="urn:import:org.synthful.smartgwt.client.widgets" xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:km="urn:import:com.consona.ckm.contenteditor.client.core.view">
<smt:UIToolStripMenuButton ui:field="btnSaveMenu">
<smt:UIMenuItem ui:field="submitMenuItem" title="{resources.submit}" />
</smt:UIToolStripMenuButton>
I want to make submitMenuItem invisible. I tried by adding visible="false". But does not seem to work.
Smartgwt version 4, Chrome browser.