Closes the form.
Namespace: MindFusion.Scheduling
File: BaseForm.js
JavaScript Copy Code |
---|
function closeForm ([formId]) |
String. The Id of the form to be closed.
The following code uses the ButtonClick event handler of the save button to close the form and repaint the calendar. The custom form (this) is represented by a class that extends BaseForm:
JavaScript Copy Code |
---|
onSaveButtonClick(e) { // close the form // repaint the calendar |