Zum Hauptinhalt springen

onTaskFormTabChange

Description​

Fires when the active tab in the advanced task form changes

onTaskFormTabChange: (tabId: string, prevTabId: string) => void

Parameters​

  • tabId - the ID of the new active tab
  • prevTabId - the ID of the previous active tab

Example​

gantt.attachEvent("onTaskFormTabChange", function (tabId, prevTabId) {
console.log(prevTabId, tabId);
});

Details​

Requires the advanced task form. See its form API to read or change the active tab.

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.