Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Calendar Styles

    Smart GWT 2.5

    In the load_skin.js how do I change the following property from the js.

    ISC_Calendar.js

    The property is the "DaySchedule" - isc.A.showLabelColumn=true

    tried the following but does not work.

    isc.defineClass("SCalendar", "Calendar");

    if (isc.SCalendar) {
    isc.DaySchedule.changeDefaults({
    showLabelColumn : false,
    });

    Thanks
    Jan

    #2
    Fixed :

    isc.defineClass("SCalendar", "Calendar");


    if (isc.SCalendar) {
    isc.SCalendar.addProperties({
    dayViewConstructor : "SDaySchedule"
    });

    }

    isc.defineClass("SDaySchedule", "DaySchedule");

    if (isc.SDaySchedule) {
    isc.SDaySchedule.addProperties({
    labelColumnWidth : 0,
    showLabelColumn : false,
    fixedRecordHeights : true
    });

    }

    Comment

    Working...
    X