Jam.py documentation

value

value

domain: client

language: javascript

class Filter class

Description

Use value property to get or set the value of the filter.

Example

function on_view_form_created(item) {
    item.filters.invoicedate1.value = new Date(new Date().setYear(new Date().getFullYear() - 1));
}