Ext.data.JsonP.Backgrid_HeaderCell({ "tagname": "class", "name": "Backgrid.HeaderCell", "extends": "Backbone.View", "mixins": [ ], "alternateClassNames": [ ], "aliases": { }, "singleton": false, "requires": [ ], "uses": [ ], "enum": null, "override": null, "inheritable": null, "inheritdoc": null, "meta": { }, "private": null, "id": "class-Backgrid.HeaderCell", "members": { "cfg": [ ], "property": [ { "name": "events", "tagname": "property", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "property-events" }, { "name": "tagName", "tagname": "property", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "property-tagName" } ], "method": [ { "name": "initialize", "tagname": "method", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "method-initialize" }, { "name": "onClick", "tagname": "method", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "method-onClick" }, { "name": "removeCellDirection", "tagname": "method", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "method-removeCellDirection" }, { "name": "render", "tagname": "method", "owner": "Backgrid.HeaderCell", "meta": { "chainable": true }, "id": "method-render" }, { "name": "setCellDirection", "tagname": "method", "owner": "Backgrid.HeaderCell", "meta": { }, "id": "method-setCellDirection" } ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "linenr": 9, "files": [ { "filename": "header.js", "href": null } ], "html_meta": { }, "statics": { "cfg": [ ], "property": [ ], "method": [ ], "event": [ ], "css_var": [ ], "css_mixin": [ ] }, "component": false, "superclasses": [ "Backbone.View" ], "subclasses": [ ], "mixedInto": [ ], "parentMixins": [ ], "html": "

Hierarchy

Backbone.View
Backgrid.HeaderCell

HeaderCell is a special cell class that renders a column header cell. If the\ncolumn is sortable, a sorter is also rendered and will trigger a table\nrefresh after sorting.

\n
Defined By

Properties

Backgrid.HeaderCell
: Object
...
\n

Defaults to: {"click a": "onClick"}

Backgrid.HeaderCell
: String
...
\n

Defaults to: "th"

Defined By

Methods

Backgrid.HeaderCell
( options )
Initializer. ...

Initializer.

\n

Parameters

Throws

  • TypeError

    If options.column or options.collection is undefined.

    \n
Backgrid.HeaderCell
( e )
Event handler for the click event on the cell's anchor. ...

Event handler for the click event on the cell's anchor. If the column is\nsortable, clicking on the anchor will cycle through 3 sorting orderings -\nascending, descending, and default.

\n

Parameters

  • e : Object
    \n
Backgrid.HeaderCell
( )
Event handler for the collection's sort event. ...

Event handler for the collection's sort event. Removes all the CSS\ndirection classes.

\n
Backgrid.HeaderCell
( ) : Backgrid.HeaderCellchainable
Renders a header cell with a sorter, a label, and a class name for this\ncolumn. ...

Renders a header cell with a sorter, a label, and a class name for this\ncolumn.

\n

Returns

Backgrid.HeaderCell
( column, direction )
Event handler for the column's change:direction event. ...

Event handler for the column's change:direction event. If this\nHeaderCell's column is being sorted on, it applies the direction given as a\nCSS class to the header cell. Removes all the CSS direction classes\notherwise.

\n

Parameters

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