Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Customizing Calendar Event Dialog Fields not working

$
0
0
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
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);


Attached Images
File Type: png dialog_box.png (4.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles