Customizing Calendar Event Dialog Fields not working with the latest nightly build (https://www.smartclient.com/builds/SmartGWT/5.1d/LGPL/2015-04-27)
Seen in both Chrome & IE
Issue 1 - the "Edit Details" button is not hidden
Issue 2 - the new "ExportEvent" button is disabled
Sample code snippet being used
Seen in both Chrome & IE
Issue 1 - the "Edit Details" button is not hidden
Issue 2 - the new "ExportEvent" button is disabled
Sample code snippet being used
Code:
FormItem details1 = new FormItem();
details1.setName("details");
details1.setVisible(false);
ButtonItem exportButton = new ButtonItem();
exportButton.setName("ExportEvent");
exportButton.setVisible(true);
exportButton.setDisabled(false);
exportButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
}
});
calendar.setEventDialogFields(details1, exportButton);