Ext.data.JsonP.Backgrid_IntegerCell({ "tagname": "class", "name": "Backgrid.IntegerCell", "extends": "Backgrid.NumberCell", "mixins": [ ], "alternateClassNames": [ ], "aliases": { }, "singleton": false, "requires": [ ], "uses": [ ], "enum": null, "override": null, "inheritable": null, "inheritdoc": null, "meta": { }, "private": null, "id": "class-Backgrid.IntegerCell", "members": { "cfg": [ ], "property": [ { "name": "className", "tagname": "property", "owner": "Backgrid.IntegerCell", "meta": { }, "id": "property-className" }, { "name": "decimalSeparator", "tagname": "property", "owner": "Backgrid.NumberCell", "meta": { }, "id": "property-decimalSeparator" }, { "name": "decimals", "tagname": "property", "owner": "Backgrid.IntegerCell", "meta": { }, "id": "property-decimals" }, { "name": "editor", "tagname": "property", "owner": "Backgrid.Cell", "meta": { }, "id": "property-editor" }, { "name": "events", "tagname": "property", "owner": "Backgrid.Cell", "meta": { }, "id": "property-events" }, { "name": "formatter", "tagname": "property", "owner": "Backgrid.NumberCell", "meta": { }, "id": "property-formatter" }, { "name": "orderSeparator", "tagname": "property", "owner": "Backgrid.NumberCell", "meta": { }, "id": "property-orderSeparator" }, { "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.NumberCell", "meta": { }, "id": "method-initialize" }, { "name": "remove", "tagname": "method", "owner": "Backgrid.Cell", "meta": { "chainable": true }, "id": "method-remove" }, { "name": "render", "tagname": "method", "owner": "Backgrid.Cell", "meta": { "chainable": true }, "id": "method-render" }, { "name": "renderError", "tagname": "method", "owner": "Backgrid.Cell", "meta": { }, "id": "method-renderError" } ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "linenr": 487, "files": [ { "filename": "cell.js", "href": null } ], "html_meta": { }, "statics": { "cfg": [ ], "property": [ ], "method": [ ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "component": false, "superclasses": [ "Backbone.View", "Backgrid.Cell", "Backgrid.NumberCell" ], "subclasses": [ ], "mixedInto": [ ], "parentMixins": [ ], "html": "

Hierarchy

Backbone.View

An IntegerCell is just a Backgrid.NumberCell with 0 decimals. If a floating\npoint number is supplied, the number is simply rounded the usual way when\ndisplayed.

\n
Defined By

Properties

Backgrid.IntegerCell
: String
...
\n

Defaults to: "integer-cell"

Overrides: Backgrid.NumberCell.className

...
\n

Defaults to: '.'

Backgrid.IntegerCell
: number
Must be an integer. ...

Must be an integer.

\n

Defaults to: 0

Overrides: Backgrid.NumberCell.decimals

The\ndefault editor for all cell instances of this class. ...

The\ndefault editor for all cell instances of this class. This value must be a\nclass, it will be automatically instantiated upon entering edit mode.

\n\n

See Backgrid.CellEditor

\n

Defaults to: Backgrid.InputCellEditor

...
\n

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

...
\n

Defaults to: Backgrid.NumberFormatter

Overrides: Backgrid.Cell.formatter

...
\n

Defaults to: ','

...
\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
Initializes this cell and the number formatter. ...

Initializes this cell and the number formatter.

\n

Parameters

Overrides: Backgrid.Cell.initialize

Clean up this cell. ...

Clean up this cell.

\n

Returns

Render a text string in a table cell. ...

Render a text string in a table cell. The text is converted from the\nmodel's raw value for this cell's column.

\n

Returns

( 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
" });