Renders the form buttons.
Namespace: MindFusion.Scheduling
Assembly: BaseForm.js
SyntaxJavaScript
Copy Code
|
|---|
function drawButtons () |
RemarksOverride this method in a derived class to render custom form buttons.
ExampleThe 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; |
See Also