X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/docs/output/Ext.ux.grid.CheckColumn.html diff --git a/examples/docs/output/Ext.ux.grid.CheckColumn.html b/examples/docs/output/Ext.ux.grid.CheckColumn.html new file mode 100644 index 00000000..fac605e4 --- /dev/null +++ b/examples/docs/output/Ext.ux.grid.CheckColumn.html @@ -0,0 +1,24 @@ +
Package: | Ext.ux.grid |
Defined In: | ux-all-debug.js |
Class: | CheckColumn |
Extends: | Object |
A Column subclass which renders a checkbox in each column cell which toggles the truthiness of the associated data field on click.
+Note. As of ExtJS 3.3 this no longer has to be configured as a plugin of the GridPanel.
+Example usage:
+var cm = new Ext.grid.ColumnModel([{
+ header: 'Foo',
+ ...
+ },{
+ xtype: 'checkcolumn',
+ header: 'Indoor?',
+ dataIndex: 'indoor',
+ width: 55
+ }
+]);
+
+// create the grid
+var grid = new Ext.grid.EditorGridPanel({
+ ...
+ colModel: cm,
+ ...
+});
+In addition to toggling 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.