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 funktioniert, indem sie das Datum einer Zelle als Parameter erhält. Wenn Sie eine bestimmte Zeiteinheit ausblenden möchten, geben Sie für dieses Datum einfach true zurück.
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.