Class

SpotfireTextFilter

SpotfireTextFilter(filterDescription)

Represents a text filter.

Constructor

new SpotfireTextFilter(filterDescription)

Parameters:
Name Type Description
filterDescription FilterDescription
type SpotfireFiltersTypes

The type of the filter.

rangeFilter String

The Range Filter type, see SpotfireRangeFilter for details on this filter.

itemFilter String

The Item Filter type, see SpotfireItemFilter for details on this filter.

radioButtonFilter String

The Radio Button Filter type, see SpotfireRadioButtonFilter for details on this filter.

checkBoxFilter String

The Check Box Filter type, see SpotfireCheckBoxFilter for details on this filter.

textFilter String

The Text Filter type, see SpotfireTextFilter for details on this filter.

listBoxFilter String

The List Box Filter type, see SpotfireListBoxFilter for details on this filter.

[ filteringScheme ] String

The name of the filtering scheme in which the filter is added. If not specified, the active filtering scheme will be used.

[ dataTable ] String

The name of the data table on which the filter is applied. If not specified, the active data table will be used.

column String

The name of the column on which the filter is applied.

[ reset = true ] Boolean

Specifies whether the filter should be reset before applying the value.

value Object

The value to be set. The format of this parameter depends on the SpotfireFiltersTypes.

[ valueDataRange ] Object

A range definition to use the RangeFilter. For RangeFilter

[ min ] string | number

The minimum value of the range.

[ max ] string | number

The maximum value of the range.

[ includeEmpty ] boolean

Specifies if the filter must include empty values.

[ visualScale ] string

Specifies the visual scale for values.

[ checkBoxModeEnabled ] boolean

Indicates if the checkBox is enabled. For ListBoxFilter.

[ height ] number

The height of the list box. For ListBox Filter.

[ includeAllValues ] boolean

Specifies if all values must be included.

[ searchExpression ] string

Specifies the search expression. For ListBox Filter.

[ searchFieldVisible ] boolean

Specifies if the search fields is visible in the list box. For ListBox Filter.

value Object

The value to be used to filter the records.