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

customize addEventButton on Calendar

$
0
0
Hi,
I'm trying to customize the "addEventButton" of a calendar component.
What i'd like to achieve is to use a different button which handle a custom form to insert events.
The new button is rendered under the "backButton" without any icon and the calendar is still using his own default addEventButton...(you can see it in the attached image).

Is this a bug or am i doing something wrong ?


1. ISC Version : SNAPSHOT_v10.1d_2015-08-14/EVAL Development Only (example page)

2. Browser/OS: Chrome 44.0.2403.155 m (64-bit) on Windows Pro 8.1

6. Code to test in this example page
Code:

isc.Calendar.create({
    ID: "eventCalendar",
    data: eventData,
    addEventButton:isc.ImgButton.create({
        ID: "someButtonId",
        icon:"icons/Y.png",
        width:16,
        height:16,
        click: function(){
            alert();
        }
    })
});


Attached Images
File Type: png Capture.PNG (3.5 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles