IFilterPreset

The configuration for a filter preset. Pass an object of this type to addPreset() or updatePreset().

When updating a survey-defined preset, use allowEdit and allowDelete to override the Filter control's permissions.

Inherited from the following class(es):

Methods
Events
allowDelete property

The preset's delete permission.

Type:
boolean readonly
Implemented in:
IFilterPresetPermissions
allowEdit property

The preset's edit permission.

Type:
boolean readonly
Implemented in:
IFilterPresetPermissions
expression property

The filter expression that determines which records match this preset.

Type:
string readonly
Implemented in:
IFilterPreset
name property

A unique name that identifies this preset within the Filter control. Use this name when updating the preset.

Type:
string readonly
Implemented in:
IFilterPreset
title property

The label users see for this preset in the Filter control.

Default value: "" (uses the preset's name as the label)

Type:
string readonly
Implemented in:
IFilterPreset

Send feedback to the SurveyJS team

Need help? Visit our support page

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.