跳到主要内容

onAfterWBSOperation

Description​

Fires after an operation changes stored WBS codes

onAfterWBSOperation: (result: WBSOperationPlan) => void

Parameters​

  • result - (required) WBSOperationPlan - the operation ID, reason, origin and code changes

Example​

gantt.attachEvent("onAfterWBSOperation", (result) => {
console.log(result.reason, result.codeChanges);
});

Details​

The event fires once for a completed operation with code changes. It reports every changed code, including changes to tasks outside the visible grid. This event reports the local operation. A server confirmation, if used, comes separately through the data processor.

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.