Announcement

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

    Timeline with alternateLaneStyles results in display-issues

    Hi there
    we currently try to switch to smartclient 10 and ran into a display-issue using timeline and alternateLaneStyles. We tested it with the latest nightly (SmartClient_v100p_2014-10-15_Pro) and the latest Firefox and chrome.

    It seems that the descriptors for each lane is switched by color and the alignment is failing. Also there seems to be an bug drawing the border of the cells and the background-color of the weekends are missing. This doesn't seem to happen using "alternateLaneStyles: false".

    you can paste the code below in this document to see the issue in action
    Code:
    isc.Timeline.create({
    	"width" : "100%",
    	"height" : "100%",
    	"hideUsingDisplayNone" : false,
    	"startDate" : new Date(2014, 9, 13),
    	"endDate" : new Date(2014, 10, 9),
    	"firstDayOfWeek" : 1,
    	"alternateLaneStyles" : true,
    	"laneFields" :
    	[{
    			"name" : "title",
    			"title" : "&nbsp",
    			"type" : "text",
    			"canEdit" : false
    		}
    	],
    	"lanes" :
    	[{
    			"height" : 30,
    			"name" : "1",
    			"title" : "Item 1"
    		}, {
    			"height" : 30,
    			"name" : "2",
    			"title" : "Item 2"
    		}, {
    			"height" : 30,
    			"name" : "3",
    			"title" : "Item 3"
    		}, {
    			"height" : 30,
    			"name" : "4",
    			"title" : "Item 4"
    		}, {
    			"height" : 30,
    			"name" : "5",
    			"title" : "Item 5"
    		}, {
    			"height" : 30,
    			"name" : "6",
    			"title" : "Item 6"
    		}, {
    			"height" : 30,
    			"name" : "7",
    			"title" : "Item 7"
    		}, {
    			"height" : 30,
    			"name" : "8",
    			"title" : "Item 8"
    		}, {
    			"height" : 30,
    			"name" : "9",
    			"title" : "Item 9"
    		}, {
    			"height" : 30,
    			"name" : "10",
    			"title" : "Item 10"
    		}
    	]
    })
    Last edited by SimonF; 15 Oct 2014, 06:23. Reason: added the smartclient-version and browsers

    #2
    In addition the selection seems to change the height of the row, so the rest of the timeline jumps a little bit down.

    Comment


      #3
      These issues are all due to a couple of missing CSS styles - we've added them and you can retest with a build dated October 16 or later.

      Comment


        #4
        thanks!
        In version SmartClient_v100p_2014-10-16_Pro it's fixed.

        Best Regards
        Simon

        Comment

        Working...
        X