Announcement

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

  • mabboud
    started a topic Timeline ClientOnly dataSource Bug

    Timeline ClientOnly dataSource Bug

    the following example shows that the Datasource Bound Timeline doesnt fetch the data
    where the other Timeline displays data

    only way we were able to get the Datasource timeline to work is by shrinking the amount of data

    Code:
    <html>
    <head> 
    <link rel="stylesheet" type="text/css" href="pb.css">
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" >
    <SCRIPT>window.isc_useSimpleNames = false; var isomorphicDir='isomorphic/';</SCRIPT>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Core.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Foundation.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Containers.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Grids.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Forms.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_DataBinding.js"></script>
    <SCRIPT SRC="isomorphic/system/modules/ISC_Calendar.js"></script>
    <SCRIPT SRC="isomorphic/skins/Enterprise/load_skin.js"></script>
    </HEAD>
    <BODY>
    <script>
    var _calStart = isc.DateUtil.getStartOf(new Date("2018-08-07 15:52:00"), "D");
    var _calEnd = _calStart.duplicate();
    _calEnd.setDate(_calEnd.getDate() + 2);
    
    var machines= [
        { 
            name: '1A',
        },        
        {
            name:'WARD',
        },
        {
            name:'HY-1',
        },
        {
            name:'HY-3',
        }
    ];
    
    var testTMData = [{"eventId":1005516,"lane":"1A","startDate":new Date("2018-08-07T13:55:00"),"endDate":new Date("2018-08-07T14:30:00"),"OrderKey":76105},
     {"eventId":1005517,"lane":"1A","startDate":new Date("2018-08-07T14:30:00"),"endDate":new Date("2018-08-07T15:18:00"),"OrderKey":76105},
     {"eventId":1005513,"lane":"1A","startDate":new Date("2018-08-07T14:30:00"),"endDate":new Date("2018-08-07T15:18:00"),"OrderKey":72963},
     {"eventId":1005069,"lane":"1A","startDate":new Date("2018-08-07T15:18:00"),"endDate":new Date("2018-08-07T15:54:00"),"OrderKey":76270},
     {"eventId":1005066,"lane":"1A","startDate":new Date("2018-08-07T15:54:00"),"endDate":new Date("2018-08-07T17:03:00"),"OrderKey":71410},
     {"eventId":1005070,"lane":"1A","startDate":new Date("2018-08-07T15:54:00"),"endDate":new Date("2018-08-07T17:03:00"),"OrderKey":76270},
     {"eventId":1004912,"lane":"1A","startDate":new Date("2018-08-07T17:03:00"),"endDate":new Date("2018-08-07T17:04:00"),"OrderKey":74588},
     {"eventId":1004825,"lane":"1A","startDate":new Date("2018-08-07T17:04:00"),"endDate":new Date("2018-08-07T17:32:00"),"OrderKey":73947},
     {"eventId":1004826,"lane":"1A","startDate":new Date("2018-08-07T17:04:00"),"endDate":new Date("2018-08-07T17:32:00"),"OrderKey":73947},
     {"eventId":1005858,"lane":"1A","startDate":new Date("2018-08-07T17:32:00"),"endDate":new Date("2018-08-07T17:37:00"),"OrderKey":73945},
     {"eventId":1005859,"lane":"1A","startDate":new Date("2018-08-07T17:32:00"),"endDate":new Date("2018-08-07T17:37:00"),"OrderKey":73945},
     {"eventId":1005348,"lane":"1A","startDate":new Date("2018-08-07T17:37:00"),"endDate":new Date("2018-08-07T18:28:00"),"OrderKey":75028},
     {"eventId":1004880,"lane":"1A","startDate":new Date("2018-08-07T18:28:00"),"endDate":new Date("2018-08-07T19:19:00"),"OrderKey":74763},
     {"eventId":1005595,"lane":"1A","startDate":new Date("2018-08-07T19:19:00"),"endDate":new Date("2018-08-07T19:58:00"),"OrderKey":74673},
     {"eventId":1005599,"lane":"1A","startDate":new Date("2018-08-07T19:19:00"),"endDate":new Date("2018-08-07T19:58:00"),"OrderKey":75254},
     {"eventId":1005596,"lane":"1A","startDate":new Date("2018-08-07T19:58:00"),"endDate":new Date("2018-08-07T20:38:00"),"OrderKey":74673},
     {"eventId":1005590,"lane":"1A","startDate":new Date("2018-08-07T19:58:00"),"endDate":new Date("2018-08-07T20:38:00"),"OrderKey":73817},
     {"eventId":1004711,"lane":"1A","startDate":new Date("2018-08-07T20:38:00"),"endDate":new Date("2018-08-07T21:13:00"),"OrderKey":75252},
     {"eventId":1004698,"lane":"1A","startDate":new Date("2018-08-07T20:38:00"),"endDate":new Date("2018-08-07T21:13:00"),"OrderKey":74852},
     {"eventId":1005110,"lane":"1A","startDate":new Date("2018-08-07T21:13:00"),"endDate":new Date("2018-08-07T21:15:00"),"OrderKey":72493},
     {"eventId":1005111,"lane":"1A","startDate":new Date("2018-08-07T21:15:00"),"endDate":new Date("2018-08-07T21:35:00"),"OrderKey":72493},
     {"eventId":1005108,"lane":"1A","startDate":new Date("2018-08-07T21:15:00"),"endDate":new Date("2018-08-07T21:35:00"),"OrderKey":74367},
     {"eventId":1004699,"lane":"1A","startDate":new Date("2018-08-07T21:35:00"),"endDate":new Date("2018-08-07T21:41:00"),"OrderKey":74852},
     {"eventId":1004702,"lane":"1A","startDate":new Date("2018-08-07T21:41:00"),"endDate":new Date("2018-08-07T22:33:00"),"OrderKey":74927},
     {"eventId":1004712,"lane":"1A","startDate":new Date("2018-08-07T21:41:00"),"endDate":new Date("2018-08-07T22:33:00"),"OrderKey":75252},
     {"eventId":1004820,"lane":"1A","startDate":new Date("2018-08-07T22:33:00"),"endDate":new Date("2018-08-07T22:54:00"),"OrderKey":75284},
     {"eventId":1004819,"lane":"1A","startDate":new Date("2018-08-07T22:33:00"),"endDate":new Date("2018-08-07T22:54:00"),"OrderKey":75284},
     {"eventId":1003983,"lane":"1A","startDate":new Date("2018-08-07T22:54:00"),"endDate":new Date("2018-08-07T23:25:00"),"OrderKey":75282},
     {"eventId":1004821,"lane":"1A","startDate":new Date("2018-08-07T22:54:00"),"endDate":new Date("2018-08-07T23:25:00"),"OrderKey":75284},
     {"eventId":1005570,"lane":"1A","startDate":new Date("2018-08-07T23:25:00"),"endDate":new Date("2018-08-08T01:29:00"),"OrderKey":74090},
     {"eventId":1005574,"lane":"1A","startDate":new Date("2018-08-07T23:25:00"),"endDate":new Date("2018-08-08T01:29:00"),"OrderKey":74600},
     {"eventId":1003766,"lane":"1A","startDate":new Date("2018-08-08T01:29:00"),"endDate":new Date("2018-08-08T02:35:00"),"OrderKey":73218},
     {"eventId":1005920,"lane":"1A","startDate":new Date("2018-08-08T02:35:00"),"endDate":new Date("2018-08-08T03:06:00"),"OrderKey":74830},
     {"eventId":1005919,"lane":"1A","startDate":new Date("2018-08-08T02:35:00"),"endDate":new Date("2018-08-08T03:06:00"),"OrderKey":74830},
     {"eventId":1004601,"lane":"1A","startDate":new Date("2018-08-08T03:06:00"),"endDate":new Date("2018-08-08T03:29:00"),"OrderKey":74416},
     {"eventId":1004610,"lane":"1A","startDate":new Date("2018-08-08T03:06:00"),"endDate":new Date("2018-08-08T03:29:00"),"OrderKey":75213},
     {"eventId":1004602,"lane":"1A","startDate":new Date("2018-08-08T03:29:00"),"endDate":new Date("2018-08-08T03:39:00"),"OrderKey":74416},
     {"eventId":1004604,"lane":"1A","startDate":new Date("2018-08-08T03:29:00"),"endDate":new Date("2018-08-08T03:39:00"),"OrderKey":75280},
     {"eventId":1004622,"lane":"1A","startDate":new Date("2018-08-08T03:39:00"),"endDate":new Date("2018-08-08T03:56:00"),"OrderKey":74439},
     {"eventId":1004620,"lane":"1A","startDate":new Date("2018-08-08T03:39:00"),"endDate":new Date("2018-08-08T03:56:00"),"OrderKey":74438},
     {"eventId":1004623,"lane":"1A","startDate":new Date("2018-08-08T03:56:00"),"endDate":new Date("2018-08-08T04:02:00"),"OrderKey":74439},
     {"eventId":1004597,"lane":"1A","startDate":new Date("2018-08-08T04:02:00"),"endDate":new Date("2018-08-08T04:37:00"),"OrderKey":75194},
     {"eventId":1005144,"lane":"1A","startDate":new Date("2018-08-08T04:37:00"),"endDate":new Date("2018-08-08T04:42:00"),"OrderKey":75583},
     {"eventId":1005479,"lane":"1A","startDate":new Date("2018-08-08T04:42:00"),"endDate":new Date("2018-08-08T04:49:00"),"OrderKey":74080},
     {"eventId":1005823,"lane":"1A","startDate":new Date("2018-08-08T04:49:00"),"endDate":new Date("2018-08-08T05:16:00"),"OrderKey":75344},
     {"eventId":1005824,"lane":"1A","startDate":new Date("2018-08-08T05:16:00"),"endDate":new Date("2018-08-08T05:25:00"),"OrderKey":75344},
     {"eventId":1005820,"lane":"1A","startDate":new Date("2018-08-08T05:16:00"),"endDate":new Date("2018-08-08T05:25:00"),"OrderKey":75343},
     {"eventId":1004928,"lane":"1A","startDate":new Date("2018-08-08T05:25:00"),"endDate":new Date("2018-08-08T05:45:00"),"OrderKey":73903},
     {"eventId":1004926,"lane":"1A","startDate":new Date("2018-08-08T05:45:00"),"endDate":new Date("2018-08-08T08:00:00"),"OrderKey":72935},
     {"eventId":1004929,"lane":"1A","startDate":new Date("2018-08-08T05:45:00"),"endDate":new Date("2018-08-08T08:00:00"),"OrderKey":73903},
     {"eventId":1004680,"lane":"1A","startDate":new Date("2018-08-08T08:00:00"),"endDate":new Date("2018-08-08T08:10:00"),"OrderKey":73561},
     {"eventId":1004669,"lane":"1A","startDate":new Date("2018-08-08T08:10:00"),"endDate":new Date("2018-08-08T09:00:00"),"OrderKey":74943},
     {"eventId":1004677,"lane":"1A","startDate":new Date("2018-08-08T08:10:00"),"endDate":new Date("2018-08-08T09:00:00"),"OrderKey":73931},
     {"eventId":1004670,"lane":"1A","startDate":new Date("2018-08-08T09:00:00"),"endDate":new Date("2018-08-08T10:03:00"),"OrderKey":74943},
     {"eventId":1004674,"lane":"1A","startDate":new Date("2018-08-08T09:00:00"),"endDate":new Date("2018-08-08T10:03:00"),"OrderKey":74089},
     {"eventId":1004671,"lane":"1A","startDate":new Date("2018-08-08T10:03:00"),"endDate":new Date("2018-08-08T10:31:00"),"OrderKey":74943},
     {"eventId":1004665,"lane":"1A","startDate":new Date("2018-08-08T10:03:00"),"endDate":new Date("2018-08-08T10:31:00"),"OrderKey":72993},
     {"eventId":1005533,"lane":"1A","startDate":new Date("2018-08-08T10:31:00"),"endDate":new Date("2018-08-08T10:44:00"),"OrderKey":74364},
     {"eventId":1005546,"lane":"1A","startDate":new Date("2018-08-08T10:31:00"),"endDate":new Date("2018-08-08T10:44:00"),"OrderKey":74369},
     {"eventId":1005538,"lane":"1A","startDate":new Date("2018-08-08T10:44:00"),"endDate":new Date("2018-08-08T10:48:00"),"OrderKey":73837},
     {"eventId":1005534,"lane":"1A","startDate":new Date("2018-08-08T10:44:00"),"endDate":new Date("2018-08-08T10:48:00"),"OrderKey":74364},
     {"eventId":1005536,"lane":"1A","startDate":new Date("2018-08-08T10:48:00"),"endDate":new Date("2018-08-08T10:56:00"),"OrderKey":74365},
     {"eventId":1005547,"lane":"1A","startDate":new Date("2018-08-08T10:48:00"),"endDate":new Date("2018-08-08T10:56:00"),"OrderKey":74369},
     {"eventId":1005539,"lane":"1A","startDate":new Date("2018-08-08T10:56:00"),"endDate":new Date("2018-08-08T11:09:00"),"OrderKey":73837},
     {"eventId":1005542,"lane":"1A","startDate":new Date("2018-08-08T10:56:00"),"endDate":new Date("2018-08-08T11:09:00"),"OrderKey":71619},
     {"eventId":1005543,"lane":"1A","startDate":new Date("2018-08-08T11:09:00"),"endDate":new Date("2018-08-08T11:11:00"),"OrderKey":71619},
     {"eventId":1004715,"lane":"1A","startDate":new Date("2018-08-08T11:11:00"),"endDate":new Date("2018-08-08T11:36:00"),"OrderKey":74849},
     {"eventId":1004723,"lane":"1A","startDate":new Date("2018-08-08T11:11:00"),"endDate":new Date("2018-08-08T11:36:00"),"OrderKey":73775},
     {"eventId":1004666,"lane":"1A","startDate":new Date("2018-08-08T11:36:00"),"endDate":new Date("2018-08-08T11:50:00"),"OrderKey":72993},
     {"eventId":1004706,"lane":"1A","startDate":new Date("2018-08-08T11:50:00"),"endDate":new Date("2018-08-08T12:16:00"),"OrderKey":74561},
     {"eventId":1005140,"lane":"1A","startDate":new Date("2018-08-08T12:16:00"),"endDate":new Date("2018-08-08T12:31:00"),"OrderKey":73298},
     {"eventId":1004612,"lane":"1A","startDate":new Date("2018-08-08T12:31:00"),"endDate":new Date("2018-08-08T12:53:00"),"OrderKey":74603},
     {"eventId":1004606,"lane":"1A","startDate":new Date("2018-08-08T12:53:00"),"endDate":new Date("2018-08-08T13:28:00"),"OrderKey":73306},
     {"eventId":1004613,"lane":"1A","startDate":new Date("2018-08-08T12:53:00"),"endDate":new Date("2018-08-08T13:28:00"),"OrderKey":74603},
     {"eventId":1003655,"lane":"1A","startDate":new Date("2018-08-08T13:28:00"),"endDate":new Date("2018-08-08T15:25:00"),"OrderKey":73293},
     {"eventId":1003658,"lane":"1A","startDate":new Date("2018-08-08T13:28:00"),"endDate":new Date("2018-08-08T15:25:00"),"OrderKey":75115},
     {"eventId":1003657,"lane":"1A","startDate":new Date("2018-08-08T15:25:00"),"endDate":new Date("2018-08-08T15:35:00"),"OrderKey":75115},
     {"eventId":1004719,"lane":"1A","startDate":new Date("2018-08-08T15:35:00"),"endDate":new Date("2018-08-08T15:41:00"),"OrderKey":74672},
     {"eventId":1004716,"lane":"1A","startDate":new Date("2018-08-08T15:41:00"),"endDate":new Date("2018-08-08T15:47:00"),"OrderKey":74849},
     {"eventId":1004720,"lane":"1A","startDate":new Date("2018-08-08T15:41:00"),"endDate":new Date("2018-08-08T15:47:00"),"OrderKey":74672},
     {"eventId":1006020,"lane":"1A","startDate":new Date("2018-08-08T15:47:00"),"endDate":new Date("2018-08-08T16:13:00"),"OrderKey":76180},
     {"eventId":1006016,"lane":"1A","startDate":new Date("2018-08-08T16:13:00"),"endDate":new Date("2018-08-08T16:39:00"),"OrderKey":76179},
     {"eventId":1005800,"lane":"1A","startDate":new Date("2018-08-08T16:39:00"),"endDate":new Date("2018-08-08T17:48:00"),"OrderKey":76319},
     {"eventId":1005797,"lane":"1A","startDate":new Date("2018-08-08T17:48:00"),"endDate":new Date("2018-08-08T18:57:00"),"OrderKey":76313},
     {"eventId":1005721,"lane":"1A","startDate":new Date("2018-08-08T18:57:00"),"endDate":new Date("2018-08-08T19:40:00"),"OrderKey":75009},
     {"eventId":1005603,"lane":"1A","startDate":new Date("2018-08-08T19:40:00"),"endDate":new Date("2018-08-08T20:19:00"),"OrderKey":74843},
     {"eventId":1005780,"lane":"1A","startDate":new Date("2018-08-08T20:19:00"),"endDate":new Date("2018-08-08T20:47:00"),"OrderKey":74985},
     {"eventId":1005784,"lane":"1A","startDate":new Date("2018-08-08T20:47:00"),"endDate":new Date("2018-08-08T21:26:00"),"OrderKey":75239},
     {"eventId":1006006,"lane":"1A","startDate":new Date("2018-08-08T21:26:00"),"endDate":new Date("2018-08-08T22:18:00"),"OrderKey":75520},
     {"eventId":1005791,"lane":"1A","startDate":new Date("2018-08-08T22:18:00"),"endDate":new Date("2018-08-08T23:02:00"),"OrderKey":76317},
     {"eventId":1005792,"lane":"1A","startDate":new Date("2018-08-08T23:02:00"),"endDate":new Date("2018-08-08T23:20:00"),"OrderKey":76317},
     {"eventId":1005788,"lane":"1A","startDate":new Date("2018-08-08T23:02:00"),"endDate":new Date("2018-08-08T23:20:00"),"OrderKey":76311},
     {"eventId":1005262,"lane":"1A","startDate":new Date("2018-08-08T23:20:00"),"endDate":new Date("2018-08-09T01:31:00"),"OrderKey":75584},
     {"eventId":1005569,"lane":"1A","startDate":new Date("2018-08-09T01:31:00"),"endDate":new Date("2018-08-09T01:36:00"),"OrderKey":74090},
     {"eventId":1005556,"lane":"1A","startDate":new Date("2018-08-09T01:31:00"),"endDate":new Date("2018-08-09T01:36:00"),"OrderKey":75339},
     {"eventId":1005557,"lane":"1A","startDate":new Date("2018-08-09T01:36:00"),"endDate":new Date("2018-08-09T01:59:00"),"OrderKey":75339},
     {"eventId":1005951,"lane":"1A","startDate":new Date("2018-08-09T01:59:00"),"endDate":new Date("2018-08-09T02:13:00"),"OrderKey":76231},
     {"eventId":1005993,"lane":"1A","startDate":new Date("2018-08-09T02:13:00"),"endDate":new Date("2018-08-09T02:47:00"),"OrderKey":76302},
     {"eventId":1005996,"lane":"1A","startDate":new Date("2018-08-09T02:47:00"),"endDate":new Date("2018-08-09T03:52:00"),"OrderKey":74626},
     {"eventId":1005994,"lane":"1A","startDate":new Date("2018-08-09T02:47:00"),"endDate":new Date("2018-08-09T03:52:00"),"OrderKey":76302},
     {"eventId":1005688,"lane":"HY-1","startDate":new Date("2018-08-07T17:09:00"),"endDate":new Date("2018-08-07T19:33:00"),"OrderKey":74667},
     {"eventId":1004956,"lane":"HY-1","startDate":new Date("2018-08-07T19:33:00"),"endDate":new Date("2018-08-07T22:56:00"),"OrderKey":76260},
     {"eventId":1005014,"lane":"HY-1","startDate":new Date("2018-08-07T22:56:00"),"endDate":new Date("2018-08-08T00:33:00"),"OrderKey":74077},
     {"eventId":1004140,"lane":"HY-1","startDate":new Date("2018-08-08T00:33:00"),"endDate":new Date("2018-08-08T02:22:00"),"OrderKey":75353},
     {"eventId":1005878,"lane":"HY-1","startDate":new Date("2018-08-08T02:22:00"),"endDate":new Date("2018-08-08T02:38:00"),"OrderKey":73765},
     {"eventId":760212,"lane":"HY-1","startDate":new Date("2018-08-08T02:38:00"),"endDate":new Date("2018-08-08T02:54:00"),"OrderKey":55268},
     {"eventId":1005351,"lane":"HY-1","startDate":new Date("2018-08-08T02:54:00"),"endDate":new Date("2018-08-08T03:10:00"),"OrderKey":70551},
     {"eventId":1005828,"lane":"HY-1","startDate":new Date("2018-08-08T03:10:00"),"endDate":new Date("2018-08-08T03:26:00"),"OrderKey":70650},
     {"eventId":1005678,"lane":"HY-1","startDate":new Date("2018-08-08T03:26:00"),"endDate":new Date("2018-08-08T17:25:00"),"OrderKey":75069},
     {"eventId":1005781,"lane":"HY-1","startDate":new Date("2018-08-08T20:47:00"),"endDate":new Date("2018-08-08T23:19:00"),"OrderKey":74985},
     {"eventId":1005544,"lane":"HY-1","startDate":new Date("2018-08-08T23:19:00"),"endDate":new Date("2018-08-09T00:21:00"),"OrderKey":71619},
     {"eventId":1005540,"lane":"HY-1","startDate":new Date("2018-08-09T00:21:00"),"endDate":new Date("2018-08-09T01:51:00"),"OrderKey":73837},
     {"eventId":1005821,"lane":"HY-1","startDate":new Date("2018-08-09T01:51:00"),"endDate":new Date("2018-08-09T09:02:00"),"OrderKey":75343},
     {"eventId":1005825,"lane":"HY-1","startDate":new Date("2018-08-09T09:02:00"),"endDate":new Date("2018-08-09T16:13:00"),"OrderKey":75344},
     {"eventId":1006007,"lane":"HY-1","startDate":new Date("2018-08-09T16:13:00"),"endDate":new Date("2018-08-09T20:38:00"),"OrderKey":75520},
     {"eventId":1004913,"lane":"HY-1","startDate":new Date("2018-08-09T20:38:00"),"endDate":new Date("2018-08-10T02:05:00"),"OrderKey":74588},
     {"eventId":1004827,"lane":"HY-1","startDate":new Date("2018-08-10T02:05:00"),"endDate":new Date("2018-08-10T06:00:00"),"OrderKey":73947},
     {"eventId":1005145,"lane":"HY-1","startDate":new Date("2018-08-10T06:00:00"),"endDate":new Date("2018-08-10T12:30:00"),"OrderKey":75583},
     {"eventId":1005722,"lane":"HY-1","startDate":new Date("2018-08-10T12:30:00"),"endDate":new Date("2018-08-10T15:31:00"),"OrderKey":75009},
     {"eventId":1004916,"lane":"HY-1","startDate":new Date("2018-08-10T15:31:00"),"endDate":new Date("2018-08-10T20:21:00"),"OrderKey":74618},
     {"eventId":1005785,"lane":"HY-1","startDate":new Date("2018-08-10T20:21:00"),"endDate":new Date("2018-08-12T03:32:00"),"OrderKey":75239},
     {"eventId":1005995,"lane":"HY-1","startDate":new Date("2018-08-12T03:32:00"),"endDate":new Date("2018-08-12T08:59:00"),"OrderKey":76302},
     {"eventId":1001878,"lane":"HY-3","startDate":new Date("2018-08-07T15:52:00"),"endDate":new Date("2018-08-07T17:35:00"),"OrderKey":75594},
     {"eventId":1005134,"lane":"HY-3","startDate":new Date("2018-08-07T17:35:00"),"endDate":new Date("2018-08-07T18:17:00"),"OrderKey":74236},
     {"eventId":1005423,"lane":"HY-3","startDate":new Date("2018-08-07T18:17:00"),"endDate":new Date("2018-08-07T20:00:00"),"OrderKey":74145},
     {"eventId":1004732,"lane":"HY-3","startDate":new Date("2018-08-07T20:00:00"),"endDate":new Date("2018-08-07T20:56:00"),"OrderKey":74887},
     {"eventId":1005009,"lane":"HY-3","startDate":new Date("2018-08-07T20:56:00"),"endDate":new Date("2018-08-07T21:53:00"),"OrderKey":73037},
     {"eventId":1005414,"lane":"HY-3","startDate":new Date("2018-08-07T21:53:00"),"endDate":new Date("2018-08-07T23:22:00"),"OrderKey":75460},
     {"eventId":1005417,"lane":"HY-3","startDate":new Date("2018-08-07T23:22:00"),"endDate":new Date("2018-08-07T23:57:00"),"OrderKey":71287},
     {"eventId":1003096,"lane":"HY-3","startDate":new Date("2018-08-07T23:57:00"),"endDate":new Date("2018-08-08T03:05:00"),"OrderKey":71184},
     {"eventId":1004724,"lane":"HY-3","startDate":new Date("2018-08-08T11:36:00"),"endDate":new Date("2018-08-08T13:19:00"),"OrderKey":73775},
     {"eventId":1005112,"lane":"HY-3","startDate":new Date("2018-08-08T13:19:00"),"endDate":new Date("2018-08-08T15:02:00"),"OrderKey":72493},
     {"eventId":1005709,"lane":"WARD","startDate":new Date("2018-08-07T21:31:00"),"endDate":new Date("2018-08-08T00:15:00"),"OrderKey":75791},
     {"eventId":1005988,"lane":"WARD","startDate":new Date("2018-08-08T00:15:00"),"endDate":new Date("2018-08-08T00:36:00"),"OrderKey":73009},
     {"eventId":1004648,"lane":"WARD","startDate":new Date("2018-08-08T00:36:00"),"endDate":new Date("2018-08-08T02:35:00"),"OrderKey":75986},
     {"eventId":1003767,"lane":"WARD","startDate":new Date("2018-08-08T02:35:00"),"endDate":new Date("2018-08-08T07:26:00"),"OrderKey":73218},
     {"eventId":1005141,"lane":"WARD","startDate":new Date("2018-08-08T12:31:00"),"endDate":new Date("2018-08-08T14:22:00"),"OrderKey":73298},
     {"eventId":1005997,"lane":"WARD","startDate":new Date("2018-08-09T03:52:00"),"endDate":new Date("2018-08-09T06:22:00"),"OrderKey":74626},
     {"eventId":1005518,"lane":"WARD","startDate":new Date("2018-08-09T06:22:00"),"endDate":new Date("2018-08-09T09:44:00"),"OrderKey":76105},
     {"eventId":1005952,"lane":"WARD","startDate":new Date("2018-08-09T09:44:00"),"endDate":new Date("2018-08-09T10:58:00"),"OrderKey":76231},
     {"eventId":1003853,"lane":"WARD","startDate":new Date("2018-08-09T10:58:00"),"endDate":new Date("2018-08-09T13:06:00"),"OrderKey":73773},
     {"eventId":1003825,"lane":"WARD","startDate":new Date("2018-08-09T13:06:00"),"endDate":new Date("2018-08-09T14:34:00"),"OrderKey":74105},
     {"eventId":1004737,"lane":"WARD","startDate":new Date("2018-08-09T14:34:00"),"endDate":new Date("2018-08-10T08:43:00"),"OrderKey":72494},
     {"eventId":1004700,"lane":"WARD","startDate":new Date("2018-08-10T08:43:00"),"endDate":new Date("2018-08-10T11:23:00"),"OrderKey":74852},
     {"eventId":1005861,"lane":"WARD","startDate":new Date("2018-08-10T11:23:00"),"endDate":new Date("2018-08-10T13:36:00"),"OrderKey":73945},
     {"eventId":1004707,"lane":"WARD","startDate":new Date("2018-08-10T13:36:00"),"endDate":new Date("2018-08-10T15:44:00"),"OrderKey":74561}];
    
    
    isc.DataSource.create({
        ID: "MyTimeLine",
        fields:[
            {name:"eventId", type:"integer", primaryKey:true},
            {name:"lane", type:"text" , title:"MachineId"},
            {name:"startDate", type:"datetime" },
            {name:"endDate", type:"datetime" },
            {name:"OrderKey", type:"integer" },
            {name:"styleName", type:"text" }
        ], 
        clientOnly: true,
        cacheData : testTMData
    });
    
    // THIS DOES NOT WORK
    isc.Timeline.create({
        ID: "notWorkingTimeline",
        autoDraw:false,
        autoFetchData:true,
        height: "100%",
        width: "100%",
        startDate: _calStart, 
        endDate: _calEnd,
        dataSource: "MyTimeLine",
        lanes: machines,
        headerLevels: [     { unit: "day" } , {unit:"hour"} ],
        lanes: machines,
        headerLevels: [     { unit: "day" } , {unit:"hour"} ],
        eventSnapGap: 1,
        laneEventPadding: 1,    
        laneFields: [
            { name: "lane", title: "MCH", minWidth: 120, autoFitWidth: true }
        ]
    });
    
    
    //THIS ONE WORKS
    isc.Timeline.create({
        ID: "workingTimeline",
        autoDraw:false,
        autoFetchData:true,
        height: "100%",
        width: "100%",
        startDate: _calStart, 
        endDate: _calEnd,
        data: testTMData,
        lanes: machines,
        headerLevels: [     { unit: "day" } , {unit:"hour"} ],
        lanes: machines,
        headerLevels: [     { unit: "day" } , {unit:"hour"} ],
        eventSnapGap: 1,
        laneEventPadding: 1,    
        laneFields: [
            { name: "lane", title: "MCH", minWidth: 120, autoFitWidth: true }
        ]
    }); 
    
    isc.VLayout.create({ 
        width: "100%",
        height: "100%",
        layoutMargin: 10,
        membersMargin: 10,
        members: [
            notWorkingTimeline,
            workingTimeline
        ]
    });    
    
    </SCRIPT>
    
    </BODY>
    </HTML>

  • Isomorphic
    replied
    We see this issue and it's been assigned to be looked into - we'll get back to you when we have more information.

    Leave a comment:

Working...
X