Hi there, what the title says. I create a timeline like this:
The description field changes when i change "setDescriptionField", but the title seems to always be the same as the laneNameField i passed into the constructor, no matter what i set in "setTitleField".
Code:
GenericTimeline calendar = new GenericTimeline(ds, laneDs, MyConstants.FIELD_FULLNAME);
Date begin = new Date();
Date end = new Date();
CalendarUtil.addMonthsToDate(end, 1);
calendar.setStartDate(begin);
calendar.setEndDate(end);
calendar.setCanEditLane(false);
calendar.setShowEventDescriptions(true);
calendar.setTitleField(MyConstants.FIELD_LOCATIONNAME);
calendar.setDescriptionField("note");