Hi,
I'd like to be able to pass a custom class to the task items in the Gantt component. I know that I could do this by modifying the source once I purchase a professional license, but I'm wondering if there's anything built in. For example, if the data were:
{
"ID"
:7,
"Title"
:
"Software validation"
,
"ParentID"
:
null
,
"OrderID"
:0,
"Start"
:
"Date(1401667200000)"
,
"End"
:
"Date(1405123200000)"
,
"PercentComplete"
:0.43,
"Summary"
:
true
,
"Expanded"
:
true
,
"CustomClass"
:
"task-type-1"
}
Then I'd like to add the "task-type-1" class to either the k-task or k-task-wrap div. This will allow me to easily colour code task types.
Does this functionality already exist, or do I need to modify the source and write it myself?
Thanks for your help!