Added the possibility to add customLabels for the tasks in the moving bar view.
Therefore, the property customLabel can be entered to the data object as follows:
const data = [{ id: 1, start: new Date('.....'), end: new Data('....'), name: "Title Task 1", customLabel: "My Custom Label" }]
If the customLabel property is set and the option
{ dataViewPort: { task: { showLabel: true } } } is activated, then the customLabel string is used. If the option is activated and customLabel is missing, the name is used.
63 (Possible solution)
Added the possibility to add customLabels for the tasks in the moving bar view. Therefore, the property customLabel can be entered to the data object as follows:
const data = [{ id: 1, start: new Date('.....'), end: new Data('....'), name: "Title Task 1", customLabel: "My Custom Label" }]
If the customLabel property is set and the option
{ dataViewPort: { task: { showLabel: true } } }
is activated, then the customLabel string is used. If the option is activated and customLabel is missing, the name is used.