onScaleAdjusted
Description
Wird neu gerendert, um alle Aufgaben vollständig anzuzeigen
onScaleAdjusted: () => void;
Example
gantt.attachEvent("onScaleAdjusted", function(){
const min = gantt.getState().min_date;
const max = gantt.getState().max_date;
const to_str = gantt.templates.task_date;
return gantt.message(`Scale shows days from ${to_str(min)}
to ${to_str(max)}`);
});
Related samples
Details
Hinweis: Das Ereignis wird nur ausgelöst, wenn die Eigenschaft fit_tasks auf true gesetzt ist.
Related API
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.