Wijmo UI for the Web
wijfilter jQuery Widget
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.filter.wijfilter.options
     
    $(".selector").wijfilter(options);
});
Javascript (Specification) 
function wijfilter() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public OptionavailableOperators

Type: wijmo.filter.IFilterOperator[]

An array of available filter operators to select.

 
public Optiondata

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 }]

 
public OptiondataKey

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.

 
public OptionenableSortButtons

Default value: false

A value indicating whether sorting buttons are enabled.

 
public OptionfilterOperator

Type: wijmo.filter.IFilterOperatorEx[]

Default value: []

An array of filter operators.

 
public OptionfilterValue

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.

 
public OptionnullDisplayText

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.

 
public OptionshowHeader

Default value: true

A value indicating whether header is visible.

 
public OptionsortDirection

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.

 
public Optiontitle

Default value: ""

Specifies the title of the dialog.

 
Top
Methods
 NameDescription
public Methoddestroy  
public MethodtriggerCloseForce wijfilter to raise the close event.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventcloseThe close event handler. A function called when dialog is closed.  
Top

See Also

Reference

wijfilter jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.