X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.ux.grid.CheckColumn.html diff --git a/docs/output/Ext.ux.grid.CheckColumn.html b/docs/output/Ext.ux.grid.CheckColumn.html new file mode 100644 index 00000000..79ff2d30 --- /dev/null +++ b/docs/output/Ext.ux.grid.CheckColumn.html @@ -0,0 +1,29 @@ +
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.
\ No newline at end of file