Properties Methods Events Direct Link

# Class Ext.ux.grid.CheckColumn

Package: | Ext.ux.grid
Defined In: | CheckColumn.js
Class: | CheckColumn
Extends: | Object

GridPanel plugin to add a column with check boxes to a grid.

Example usage:

    // create the column

    var checkColumn = new Ext.grid.CheckColumn({
       header: 'Indoor?',
       dataIndex: 'indoor',
       id: 'check',
       width: 55
    });

    // add the column to the column model

    var cm = new Ext.grid.ColumnModel([{
           header: 'Foo',
           ...
        },
        checkColumn
    ]);

    // create the grid

    var grid = new Ext.grid.EditorGridPanel({
        ...
        cm: cm,
        plugins: [checkColumn], // include plugin

        ...
    });

In addition to storing a Boolean value within the record data, this class toggles a css class between `'x-grid3-check-col'` and `'x-grid3-check-col-on'` to alter the background image used for a column.

## Public Properties

This class has no public properties.

## Public Methods

This class has no public methods.

## Public Events

This class has no public events.