SmartClient Version: SNAPSHOT_v11.1d_2017-01-31/Enterprise Development Only (built 2017-01-31)
Chrome on OSX Sierra
Hello, please modify the databoundCalendar sample like this:
in month view, if you click the button, you may see that both getVisibleStartDate() and getVisibleEndDate() return undefined.
Chrome on OSX Sierra
Hello, please modify the databoundCalendar sample like this:
Code:
// using a client-only dataSource so that test data is always relative to the current date isc.DataSource.create({ ID: "eventDS", fields:[ {name:"eventId", primaryKey: true, type: "sequence"}, {name:"name"}, {name:"description"}, {name:"startDate", type: "datetime"}, {name:"endDate", type: "datetime"} ], clientOnly: true, testData: eventData }); isc.Calendar.create({ ID: "eventCalendar", top:30, dataSource: eventDS, autoFetchData: true }); isc.Button.create({ width: 150, title:"Visible start/end dates", click:"isc.say('Visible Start Date: ' + eventCalendar.getVisibleStartDate() + '<br>Visible End Date: ' + eventCalendar.getVisibleEndDate());" });
Comment