Jam.py documentation

close_param_form

close_param_form()

domain: client

language: javascript

class Report class

Description

Use close_param_form method to close the param form of the report.

The close_param_form method triggers the on_param_form_close_query event handler of the report, if one is defined. If the event handler is defined and

  • returns true - the form is destroyed, the report’s param_form atrribute is set to undefined and the methods exits

  • return false - the operation is aborted and the methods exits,

If it don’t return a value (undefined) the method triggers the on_param_form_close_query of the group that owners the report, if one is defined for the group. If this event handler is defined and

  • returns true - the form is destroyed, the report’s param_form atrribute is set to undefined and the methods exits

  • return false - the operation is aborted and the methods exits,

If it don’t return a value (undefined) the method triggers the on_param_form_close_query of the task. If this event handler is defined and

  • returns true - the form is destroyed, the report’s param_form atrribute is set to undefined and the methods exits

  • return false - the operation is aborted and the methods exits,

If no event handler is defined or none of these event handlers return false, the form is destroyed and the report’s param_form atrribute is set to undefined.