Announcement

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

    timeline addEvent does not show event

    Hello,
    SmartClient Version: v9.1p_2014-09-10/Pro Development Only
    Browser:Firefox 30.0
    IE 8.0

    The addEvent does only show the first event that is added. Subsequent addEvent() are not shown in the timeline but are shown, after the user scrolls with the scrollbars.
    Demo: Please press button "New Event 1" and then "New Event 2"
    and than scroll a small tick so that the second event is shown.
    Your Version 9 Examples with a small modification:
    the URL:
    http://localhost:8080/smartclient/isomorphic/system/reference/SmartClient_Explorer.html#databoundTimeline

    I added the following to the databoundTimeline.js code:

    isc.Toolbar.create({
    name:"toolbarmarStd",
    ID:"toolbarmarStd",
    autoDraw:true,
    margin: 1,
    height:24,
    width:650,
    buttons:[
    {name:"createEvent1",ID:"createEvent_01", _constructor:"ButtonItem", width:120
    ,title:"New Event 1"
    ,click: function(){
    var start = new Date(2012,6,09,10,30,5);
    var end = new Date(2012,6,09,14,30,5);
    var params = {lane: "kaiKong"};
    timeline.addEvent(start, end, "1","2", params);
    }
    } ,
    {name:"createEvent2",ID:"createEvent_02", _constructor:"ButtonItem", width:120
    ,title:"New Event 2"
    ,click: function(){
    var start2 = new Date(2012,6,06,10,30,5);
    var end2 = new Date(2012,6,06,14,30,5);
    var params2 = {lane: "garretMonroe"};
    timeline.addEvent(start2, end2, "1","2", params2);
    }
    }
    ]
    });


    Kind regards

    Paul

    #2
    We've fixed this and another bug, and also improved the pooling mechanism for event windows - please retest with a build dated September 16 or later.

    Comment


      #3
      no improvement

      Hello,
      I retestet with version
      "v9.1p_2014-09-16/Pro Development Only"
      but the behavior did not change. Shall I wait until tomorrow?
      Kind regards
      Paul

      Comment


        #4
        Yes, sorry - we meant September 17 - the September 16 builds were already underway when these fixes hit the code stream.

        Comment

        Working...
        X