SMART datagrid v.1 > Classes > FilterSelectorOptions

Back  Forward

DataLudi.FilterSelectorOptions.closeWhenClick  property

If it is true, when click the filter selection box item, it will close the box after filtering. 

If want to not to close the box and select multiple items, you should specify as false

Defaults to false.

Getter
function closeWhenClick(): Boolean
Setter
function setCloseWhenClick(value: Boolean)
Code -1
    grid.setOptions({
        operate: {
            filterSelector: {
                closeWhenClick: true
            }
        },
        ...
    });
Code -2
    grid.setOperateOption({
        filterSelector: {
            closeWhenClick: true
        }
    });
Code -3
    grid.operateOptions().filterSelector().setCloseWhenClick(true);
See Also
OperateOptions.filterSelector
Examples
Column Filtering