Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug in Timeline? setTitleField seem to have no effect.

$
0
0
Hi there, what the title says. I create a timeline like this:
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");

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".

Viewing all articles
Browse latest Browse all 4756

Trending Articles