Announcement

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

    12.0p Calendar data not always shown in Month and Timeline-view.

    Hi Isomorphic,

    I browsed the showcase. In this modified sample (v12.0p_2020-03-28, Chromium 80 / Win 10) there is no data shown in two of the 4 views. I'd expect data in all four views.

    Data is generated for today (2020-03-29) in JS, but only shows in Day and Week view, not in Month and Timeline:

    Month:
    Click image for larger version  Name:	Month.PNG Views:	0 Size:	23.4 KB ID:	261634


    Timeline:
    Click image for larger version  Name:	Timeline.PNG Views:	0 Size:	21.7 KB ID:	261633


    Also, it is not clear to me, why "Day" lane is selected by default.



    Code:
    var lanes = [
        { name: "charlesMadigen", title: "Charles Madigen", width: 200 },
        { name: "tamaraKane", title: "Tamara Kane", width: 200 },
        { name: "darcyFeeney", title: "Darcy Feeney", width: 200 },
        { name: "kaiKong", title: "Kai Kong", width: 200 },
        { name: "shellyFewel", title: "Shelly Fewel", width: 200 }
    ];
    
    isc.Calendar.create({
        ID: "calendar",
        top: 40,
        data: dayLaneData,
        lanes: lanes,
        showWeekView: [B]true[/B],
        showMonthView: [B]true[/B],
        showTimelineView: [B]true[/B],
    
        chosenDate: new Date(),
    
        showDayLanes: true,
        canEditLane: true
    
    });
    Best regards
    Blama

    #2
    The MonthView issue was a result of incorrect generic CalendarView logic when showDayLanes is set.

    Timelines aren't really expected to be displayed in the same Calendar as other views, which is why we hide timelineView by default on isc.Calendar and have a separate isc.Timeline subclass.

    But obviously it shouldn't just look broken, so both issues have been fixed, as have a few other niggles we noticed when testing this combination of all four views and showDayLanes.

    Please retest with a build dated March 31 or later.

    Comment


      #3
      Hi Isomorphic,

      using v12.0p_2020-03-31 I can see this is fixed.

      Thank you & Best regards
      Blama

      Comment

      Working...
      X