task_class
Description
Definiert die CSS-Klasse, die auf die Task-Balken angewendet wird
task_class: (start: Date, end: Date, task: Task) => string | void;
Parameters
start- (erforderlich) Date - das Datum, an dem eine Aufgabe beginnen sollend- (erforderlich) Date - das Datum, an dem eine Aufgabe voraussichtlich abgeschlossen wirdtask- (erforderlich) Task - das Task-Objekt
Returns
text- (string | void) - eine CSS-Klasse für das betreffende Element
Example
gantt.templates.task_class = function(start, end, task){return "";};
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.