Zum Hauptinhalt springen

ignore_time

Description

Blendet eine Zeiteinheit in der Zeitskala aus

ignore_time: GanttCallback

Example

// 0 steht für Sonntag, 6 für Samstag
gantt.ignore_time = function(date){
if(date.getDay() == 0 || date.getDay() == 6)
return true;
};

Details

Die ignore_time-Methode ist eine Funktion, die das Datum der Zelle als Parameter entgegennimmt. Um eine Einheit auszublenden, geben Sie dafür true zurück.

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.