Properties Methods Events Config Options Direct Link
Filter
  BooleanFilter

Class Ext.ux.grid.filter.BooleanFilter

Package:Ext.ux.grid.filter
Defined In:BooleanFilter.js
Class:BooleanFilter
Extends:Filter
Boolean filters use unique radio group IDs (so you can have more than one!)

Example Usage:

var filters = new Ext.ux.grid.GridFilters({
    ...
    filters: [{
        // required configs
        type: 'boolean',
        dataIndex: 'visible'

        // optional configs
        defaultValue: null, // leave unselected (false selected by default)
        yesText: 'Yes',     // default
        noText: 'No'        // default
    }]
});

Config Options

Config OptionsDefined By
 active : Boolean
Indicates the initial status of the filter (defaults to false).
Filter
 defaultValue : Boolean
Set this to null if you do not want either option to be checked by default. Defaults to false.
BooleanFilter
 defaultValue : Boolean
Set this to null if you do not want either option to be checked by default. Defaults to false.
BooleanFilter
 noText : String
Defaults to 'No'.
BooleanFilter
 noText : String
Defaults to 'No'.
BooleanFilter
 yesText : String
Defaults to 'Yes'.
BooleanFilter
 yesText : String
Defaults to 'Yes'.
BooleanFilter

Public Properties

PropertyDefined By
 active : Boolean
True if this filter is active. Use setActive() to alter after configuration.
Filter
 menu : Ext.menu.Menu
The filter configuration menu that will be installed into the filter submenu of a column menu.
Filter

Public Methods

MethodDefined By

Public Events

EventDefined By