jQuery FilterBuilder - lookup

Configures the lookup field.

Type:

Object

Default Value: undefined

Use the lookup field to limit the available filter values.

See Also

allowClearing

Specifies whether a user can nullify the lookup values. Set to true only if your data source accepts null values.

Type:

Boolean

Default Value: false

dataSource

Specifies the lookup data source.

Default Value: undefined

The lookup data source must contain fields assigned to the valueExpr and displayExpr options.

See Also

displayExpr

Specifies the data source field whose values are displayed.

Type:

String

|

Function

Function parameters:
data:

Object

The current data object.

Default Value: undefined

This option accepts a string - the name of the data field that provides displayed values, or a function that returns the displayed value, combined from values of several data fields.

valueExpr

Specifies the data source field whose values should be replaced.

Type:

String

|

Function

Default Value: undefined

This field's values are replaced with the displayExpr field's values.