Properties Methods Events Config Options Direct Link
Observable
  GridView
    PivotGridView

Class Ext.grid.PivotGridView

Package:Ext.grid
Defined In:PivotGridView.js
Class:PivotGridView
Extends:GridView
Specialised GridView for rendering Pivot Grid components. Config can be passed to the PivotGridView via the PivotGrid constructor's viewConfig option:
new Ext.grid.PivotGrid({
    viewConfig: {
        title: 'My Pivot Grid',
        getCellCls: function(value) {
            return value > 10 'red' : 'green';
        }
    }
});

Currently title and getCellCls are the only configuration options accepted by PivotGridView. All other interaction is performed via the PivotGrid class.

Config Options

Config OptionsDefined By
 cellSelector : String
The selector used to find cells internally (defaults to 'td.x-grid3-cell')
GridView
 cellSelectorDepth : Number
The number of levels to search for cells in event delegation (defaults to 4)
GridView
 columnsText : String
The text displayed in the 'Columns' menu item (defaults to 'Columns')
GridView
 deferEmptyText : Boolean
True to defer emptyText being applied until the store's first load (defaults to true).
GridView
 headerMenuOpenCls : String
The CSS class to add to the header cell when its menu is visible. Defaults to 'x-grid3-hd-menu-open'
GridView
 markDirty : Boolean
True to show the dirty cell indicator when a cell has been modified. Defaults to true.
GridView
 rowBodySelector : String
The selector used to find row bodies internally (defaults to 'div.x-grid3-row')
GridView
 rowBodySelectorDepth : Number
The number of levels to search for row bodies in event delegation (defaults to 10)
GridView
 rowOverCls : String
The CSS class added to each row when it is hovered over. Defaults to 'x-grid3-row-over'
GridView
 rowSelector : String
The selector used to find rows internally (defaults to 'div.x-grid3-row')
GridView
 rowSelectorDepth : Number
The number of levels to search for rows in event delegation (defaults to 10)
GridView
 sortAscText : String
The text displayed in the 'Sort Ascending' menu item (defaults to 'Sort Ascending')
GridView
 sortClasses : Array
The CSS classes applied to a header when it is sorted. (defaults to ['sort-asc', 'sort-desc'])
GridView
 sortDescText : String
The text displayed in the 'Sort Descending' menu item (defaults to 'Sort Descending')
GridView
 title : String
Optional title to be placed in the top left corner of the PivotGrid. Defaults to an empty string.
PivotGridView

Public Properties

PropertyDefined By
 Ext.Template : masterTpl
The master template to use when rendering the GridView. Has a default template
PivotGridView
 bodyTpl : Ext.Template
The template to use when rendering the body. Has a default template
GridView
 cellTpl : Ext.Template
The template to use to render each cell. Has a default template
GridView
 colHeaderCellCls : String
The CSS class added to all group header cells. Defaults to 'grid-hd-group-cell'
PivotGridView
 headerTitleEl : Ext.Element The element that contains the optional title (top left section of the pivot grid)
PivotGridView
 headerTpl : Ext.Template
The template to use when rendering headers. Has a default template
GridView
 rowHeadersEl : Ext.Element The element containing all row headers
PivotGridView

Public Methods

MethodDefined By

Public Events

EventDefined By