domain: client
language: javascript
class Item class
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.
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()
}
);