Javascript (Usage) | |
---|---|
$(function () { var options; // Type: wijmo.filter.wijfilter.options $(".selector").wijfilter(options); }); |
Javascript (Specification) | |
---|---|
|
Name | Description | |
---|---|---|
![]() | availableOperators | An array of available filter operators to select. |
![]() | data | An array of data to get filtering values from where each element is a one-dimensional array or object: [[ val0, ..., valN ], ..., [ val0, ..., valN ]] or [{ prop0: val0, ..., propN: valN }, ..., { prop0: val0, ..., propN: valN }] |
![]() | dataKey | A value used to identify a column in a data array. Can be string if the data option contains an array of objects or an integer if the data option is an array of arrays. |
![]() | enableSortButtons | Default value: false A value indicating whether sorting buttons are enabled. |
![]() | filterOperator | Default value: [] An array of filter operators. |
![]() | filterValue | Default value: [] A value set for filtering. An array where each value is used as the value in the array of filter operators of the filterOperator option. |
![]() | nullDisplayText | Default value: '<null>' A value used to indicate the text to display for a data item when the value of the data item is null. |
![]() | showHeader | Default value: true A value indicating whether header is visible. |
![]() | sortDirection | Determines the sort direction. Possible values are: "none", "ascending" and "descending". "none": no sorting. "ascending": sort from smallest to largest. "descending": sort from largest to smallest. |
![]() | title | Default value: "" Specifies the title of the dialog. |
Name | Description | |
---|---|---|
![]() | destroy | |
![]() | triggerClose | Force wijfilter to raise the close event. |
![]() | widget | Returns a jQuery object containing the original element or other relevant generated element. |