Why am I seeing the event from 16.08.16 00:00:01 to 16.08.16 23:59:59 only in the second half of the day 16.08 ?
Using smartgwt 6.0p power 13.08.16
Using smartgwt 6.0p power 13.08.16
Code:
public void onModuleLoad() { VLayout vlayout = new VLayout(); final Timeline calendar = new Timeline(); calendar.setHeight(451); calendar.setCanEditLane(true); calendar.setShowEventDescriptions(false); calendar.setDisableWeekends(false); calendar.setDataSource("testTimelane"); calendar.setStartDateField("f_startDate"); calendar.setEndDateField("f_endDate"); calendar.setAutoFetchData(true); HeaderLevel[] headerLevels = new HeaderLevel[] { new HeaderLevel(TimeUnit.WEEK), new HeaderLevel(TimeUnit.DAY) }; calendar.setHeaderLevels(headerLevels); calendar.setLaneFields(new ListGridField[] { new ListGridField("title", "Developer", 120) }); calendar.setLanes(TimelineLaneData.getRecords()); //calendar.setData(TimelineData.getRecords()); vlayout.addMember(calendar); IButton removeBtn = new IButton("Remove first lane"); removeBtn.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { calendar.removeLane(calendar.getLanes()[0]); } }); vlayout.setWidth100(); vlayout.setHeight100(); vlayout.addMember(removeBtn); vlayout.draw(); }
Comment