Renders the form buttons.
Namespace: MindFusion.Scheduling
File: BaseForm.js
JavaScript Copy Code |
---|
function drawButtons () |
Override this method in a derived class to render custom form buttons.
The following code overrides the drawButtons method to render two buttons to a custom form. The custom form is represented by a class that extends BaseForm:
JavaScript Copy Code |
---|
// override BaseForm's drawButtons method to create form buttons var btnSave = this.createButton({ var btnCancel = this.createButton({ var buttons = this.row(); return buttons; |