Ext.data.JsonP.Backgrid_BooleanCell({ "tagname": "class", "name": "Backgrid.BooleanCell", "extends": "Backgrid.Cell", "mixins": [ ], "alternateClassNames": [ ], "aliases": { }, "singleton": false, "requires": [ ], "uses": [ ], "enum": null, "override": null, "inheritable": null, "inheritdoc": null, "meta": { }, "private": null, "id": "class-Backgrid.BooleanCell", "members": { "cfg": [ ], "property": [ { "name": "className", "tagname": "property", "owner": "Backgrid.BooleanCell", "meta": { }, "id": "property-className" }, { "name": "editor", "tagname": "property", "owner": "Backgrid.BooleanCell", "meta": { }, "id": "property-editor" }, { "name": "events", "tagname": "property", "owner": "Backgrid.BooleanCell", "meta": { }, "id": "property-events" }, { "name": "formatter", "tagname": "property", "owner": "Backgrid.Cell", "meta": { }, "id": "property-formatter" }, { "name": "tagName", "tagname": "property", "owner": "Backgrid.Cell", "meta": { }, "id": "property-tagName" } ], "method": [ { "name": "enterEditMode", "tagname": "method", "owner": "Backgrid.Cell", "meta": { }, "id": "method-enterEditMode" }, { "name": "exitEditMode", "tagname": "method", "owner": "Backgrid.Cell", "meta": { }, "id": "method-exitEditMode" }, { "name": "initialize", "tagname": "method", "owner": "Backgrid.Cell", "meta": { }, "id": "method-initialize" }, { "name": "remove", "tagname": "method", "owner": "Backgrid.Cell", "meta": { "chainable": true }, "id": "method-remove" }, { "name": "render", "tagname": "method", "owner": "Backgrid.BooleanCell", "meta": { "chainable": true }, "id": "method-render" }, { "name": "renderError", "tagname": "method", "owner": "Backgrid.Cell", "meta": { }, "id": "method-renderError" } ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "linenr": 727, "files": [ { "filename": "cell.js", "href": null } ], "html_meta": { }, "statics": { "cfg": [ ], "property": [ ], "method": [ ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "component": false, "superclasses": [ "Backbone.View", "Backgrid.Cell" ], "subclasses": [ ], "mixedInto": [ ], "parentMixins": [ ], "html": "

Hierarchy

Backbone.View
Backgrid.Cell
Backgrid.BooleanCell

BooleanCell renders a checkbox both during display mode and edit mode. The\ncheckbox is checked if the model value is true, unchecked otherwise.

\n
Defined By

Properties

Backgrid.BooleanCell
: String
...
\n

Defaults to: "boolean-cell"

Backgrid.BooleanCell
editor : Object
\n
Backgrid.BooleanCell
: Object
...
\n

Defaults to: {"click": "enterEditMode"}

Overrides: Backgrid.Cell.events

...
\n

Defaults to: CellFormatter

...
\n

Defaults to: "td"

Defined By

Methods

If this column is editable, a new CellEditor instance is instantiated with\nits required parameters. ...

If this column is editable, a new CellEditor instance is instantiated with\nits required parameters. An editor CSS class is added to the cell upon\nentering edit mode.

\n\n

This method triggers a Backbone backgrid:edit event from the model when\nthe cell is entering edit mode and an editor instance has been constructed,\nbut before it is rendered and inserted into the DOM. The cell and the\nconstructed cell editor instance are sent as event parameters when this\nevent is triggered.

\n\n

When this cell has finished switching to edit mode, a Backbone\nbackgrid:editing event is triggered from the model. The cell and the\nconstructed cell instance are also sent as parameters in the event.

\n\n

When the model triggers a backgrid:error event, it means the editor is\nunable to convert the current user input to an apprpriate value for the\nmodel's column, and an error CSS class is added to the cell accordingly.

\n
Removes the editor and re-render in display mode. ...

Removes the editor and re-render in display mode.

\n
Initializer. ...

Initializer.

\n

Parameters

Throws

  • ReferenceError

    If formatter is a string but a formatter class of\nsaid name cannot be found in the Backgrid module.

    \n
Clean up this cell. ...

Clean up this cell.

\n

Returns

Backgrid.BooleanCell
( ) : Backgrid.BooleanCellchainable
Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise. ...

Renders a checkbox and check it if the model value of this column is true,\nuncheck otherwise.

\n

Returns

Overrides: Backgrid.Cell.render

( model, column )
Put an error CSS class on the table cell. ...

Put an error CSS class on the table cell.

\n

Parameters

  • model : Object
    \n
  • column : Object
    \n
" });