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.ViewBackgrid.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.
\nInitializer.
\nIf options.column or options.collection is undefined.
\nEvent 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.
Event handler for the collection's sort event. Removes all the CSS\ndirection classes.
Renders a header cell with a sorter, a label, and a class name for this\ncolumn.
\nthis
\nEvent 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.