filter_form

filter_form

domain: client

language: javascript

class Item class

Description

Use filter_form attribute to get access to a Jquery object representing the filter form of the item.

It is created by the create_filter_form method.

The close_filter_form method sets the filter_form value to undefined.

Example

In the following example the button defined in the item filter html template is assigned a click event:

item.filter_form.find("#cancel-btn").on('click',
    function() {
        item.close_filter()
    }
);

See also

Forms

create_filter_form

close_filter_form