X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/output/Ext.grid.GridPanel.html diff --git a/docs/output/Ext.grid.GridPanel.html b/docs/output/Ext.grid.GridPanel.html index 4d57a352..5942c699 100644 --- a/docs/output/Ext.grid.GridPanel.html +++ b/docs/output/Ext.grid.GridPanel.html @@ -1,73 +1,73 @@ -
Observable Component BoxComponent Container Panel GridPanel
Package: | Ext.grid |
Defined In: | GridPanel.js |
Class: | GridPanel |
Subclasses: | EditorGridPanel |
Extends: | Panel |
This class represents the primary interface of a component based grid control to represent data -in a tabular format of rows and columns. The GridPanel is composed of the following:
-Example usage:
-var grid = new Ext.grid.GridPanel({
- store: new Ext.data.Store({
- autoDestroy: true,
- reader: reader,
- data: xg.dummyData
- }),
- colModel: new Ext.grid.ColumnModel({
- defaults: {
- width: 120,
- sortable: true
- },
- columns: [
- {id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
- {header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
- {header: 'Change', dataIndex: 'change'},
- {header: '% Change', dataIndex: 'pctChange'},
- // instead of specifying renderer: Ext.util.Format.dateRenderer('m/d/Y') use xtype
- {
- header: 'Last Updated', width: 135, dataIndex: 'lastChange',
- xtype: 'datecolumn', format: 'M d, Y'
- }
- ],
- }),
- viewConfig: {
- forceFit: true,
-
-// Return CSS class to apply to rows depending upon data values
- getRowClass: function(record, index) {
- var c = record.get('change');
- if (c < 0) {
- return 'price-fall';
- } else if (c > 0) {
- return 'price-rise';
- }
- }
- },
- sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
- width: 600,
- height: 300,
- frame: true,
- title: 'Framed with Row Selection and Horizontal Scrolling',
- iconCls: 'icon-grid'
-});
-Notes:
-Observable Component BoxComponent Container Panel GridPanel
Package: | Ext.grid |
Defined In: | GridPanel.js |
Class: | GridPanel |
Subclasses: | EditorGridPanel |
Extends: | Panel |
This class represents the primary interface of a component based grid control to represent data +in a tabular format of rows and columns. The GridPanel is composed of the following:
+Example usage:
+var grid = new Ext.grid.GridPanel({
+ store: new Ext.data.Store({
+ autoDestroy: true,
+ reader: reader,
+ data: xg.dummyData
+ }),
+ colModel: new Ext.grid.ColumnModel({
+ defaults: {
+ width: 120,
+ sortable: true
+ },
+ columns: [
+ {id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
+ {header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
+ {header: 'Change', dataIndex: 'change'},
+ {header: '% Change', dataIndex: 'pctChange'},
+ // instead of specifying renderer: Ext.util.Format.dateRenderer('m/d/Y') use xtype
+ {
+ header: 'Last Updated', width: 135, dataIndex: 'lastChange',
+ xtype: 'datecolumn', format: 'M d, Y'
+ }
+ ],
+ }),
+ viewConfig: {
+ forceFit: true,
+
+// Return CSS class to apply to rows depending upon data values
+ getRowClass: function(record, index) {
+ var c = record.get('change');
+ if (c < 0) {
+ return 'price-fall';
+ } else if (c > 0) {
+ return 'price-rise';
+ }
+ }
+ },
+ sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
+ width: 600,
+ height: 300,
+ frame: true,
+ title: 'Framed with Row Selection and Horizontal Scrolling',
+ iconCls: 'icon-grid'
+});
+Notes:
+Config Options | Defined By | ||
---|---|---|---|
anchor : String Note: this config is only used when this Component is rendered
by a Container which has been configured to use an Anc... Note: this config is only used when this Component is rendered by a Container which has been configured to use an AnchorLayout (or subclass thereof). @@ -77,18 +77,18 @@ based layout manager, for example: See Ext.layout.AnchorLayout.anchor also. | BoxComponent | ||
animCollapse : Boolean true to animate the transition when the panel is collapsed, false to skip the
animation (defaults to true if the Ext.... true to animate the transition when the panel is collapsed, false to skip the
-animation (defaults to true if the Ext.Fx class is available, otherwise false ). | Panel | ||
autoExpandColumn : String The id of a column in
-this grid that should expand to fill unused space. This value specified here can not
-be 0.
-N... The id of a column in -this grid that should expand to fill unused space. This value specified here can not -be 0. -Note: If the Grid's view is configured with -forceFit=true the autoExpandColumn -is ignored. See Ext.grid.Column.width -for additional details. -See autoExpandMax and autoExpandMin also. | GridPanel | ||
autoExpandMax : Number The maximum width the autoExpandColumn
-can have (if enabled). Defaults to 1000. | GridPanel | ||
autoExpandMin : Number The minimum width the autoExpandColumn
+animation (defaults to true if the Ext.Fx class is available, otherwise false ). | Panel | ||
autoExpandColumn : String The id of a column in
+this grid that should expand to fill unused space. This value specified here can not
+be 0.
+Note... The id of a column in +this grid that should expand to fill unused space. This value specified here can not +be 0. +Note: If the Grid's view is configured with +forceFit=true the autoExpandColumn +is ignored. See Ext.grid.Column.width +for additional details. +See autoExpandMax and autoExpandMin also. | GridPanel | ||
autoExpandMax : Number The maximum width the autoExpandColumn
+can have (if enabled). Defaults to 1000. | GridPanel | ||
autoExpandMin : Number The minimum width the autoExpandColumn
can have (if enabled). Defaults to 50. | GridPanel | ||
autoHeight : Boolean true to use height:'auto', false to use fixed height (defaults to false).
Note: Setting autoHeight: true means that t... true to use height:'auto', false to use fixed height (defaults to false ).
Note: Setting autoHeight: true means that the browser will manage the panel's height
@@ -163,9 +163,9 @@ Warning: This will override any size manag...The maxi Warning: This will override any size mana... The minimum value in pixels which this BoxComponent will set its height to. Warning: This will override any size management applied by layout managers. | BoxComponent | ||
boxMinWidth : Number The minimum value in pixels which this BoxComponent will set its width to.
Warning: This will override any size manag... The minimum value in pixels which this BoxComponent will set its width to. -Warning: This will override any size management applied by layout managers. | BoxComponent | ||
bubbleEvents : Array An array of events that, when fired, should be bubbled to any parent container.
-See Ext.util.Observable.enableBubble... An array of events that, when fired, should be bubbled to any parent container. -See Ext.util.Observable.enableBubble. + Warning: This will override any size management applied by layout managers. | BoxComponent | ||
bubbleEvents : Array An array of events that, when fired, should be bubbled to any parent container.
+See Ext.util.Observable.enableBubble.... An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble. Defaults to []. | GridPanel | ||
buttonAlign : String The alignment of any buttons added to this panel. Valid values are 'right',
'left' and 'center' (defaults to 'right'... The alignment of any buttons added to this panel. Valid values are 'right' ,
'left' and 'center' (defaults to 'right' ). | Panel | ||
buttons : Array buttons will be used as items for the toolbar in
@@ -194,11 +194,11 @@ any other tools in the panel's title bar, false to render it last (
false ). | Panel | ||
collapsedCls : String A CSS class to add to the panel's element after it has been collapsed (defaults to
'x-panel-collapsed' ). | Panel | ||
collapsible : Boolean True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into
the header ... True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into
-the header tool button area, false to keep the panel statically sized with no button (defaults to false). | Panel | ||
columnLines : Boolean true to add css for column separation lines.
-Default is false. | GridPanel | ||
columns : Array An array of columns to auto create a
-Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the
-colMo... An array of columns to auto create a
-Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the
+the header tool button area, false to keep the panel statically sized with no button (defaults to false). | Panel | ||
columnLines : Boolean true to add css for column separation lines.
+Default is false. | GridPanel | ||
columns : Array An array of columns to auto create a
+Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the
+colMode... An array of columns to auto create a
+Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the
colModel configuration property. | GridPanel | ||
ctCls : String An optional extra CSS class that will be added to this component's container. This can be useful for
adding customize... An optional extra CSS class that will be added to this component's container. This can be useful for adding customized styles to the container or any of its children using standard CSS rules. See @@ -211,14 +211,14 @@ which assigns a value by default: To configure the above Class with an extra CSS class append to the default. For example, for BoxLayout (Hbox and Vbox):
| Component | ||
data : Mixed The initial set of data to apply to the tpl to
-update the content area of the Component. | Component | ||
ddGroup : String The DD group this GridPanel belongs to. Defaults to 'GridDD' if not specified. | GridPanel | ||
ddText : String Configures the text in the drag proxy. Defaults to:
-ddText : '{0} selected row{1}'
-{0} is replaced with the number... Configures the text in the drag proxy. Defaults to:
-
-{0} is replaced with the number of selected rows. | GridPanel | ||
deferRowRender : Boolean Defaults to true to enable deferred row rendering.
-This allows the GridPanel to be initially rendered empty, with th... Defaults to true to enable deferred row rendering. -This allows the GridPanel to be initially rendered empty, with the expensive update of the row -structure deferred so that layouts with GridPanels appear more quickly. | GridPanel | ||
disableSelection : Boolean true to disable selections in the grid. Defaults to false. +update the content area of the Component. | Component | ||
ddGroup : String The DD group this GridPanel belongs to. Defaults to 'GridDD' if not specified. | GridPanel | ||
ddText : String Configures the text in the drag proxy. Defaults to:
+ddText : '{0} selected row{1}'
+{0} is replaced with the number o... Configures the text in the drag proxy. Defaults to:
+
+{0} is replaced with the number of selected rows. | GridPanel | ||
deferRowRender : Boolean Defaults to true to enable deferred row rendering.
+This allows the GridPanel to be initially rendered empty, with the... Defaults to true to enable deferred row rendering. +This allows the GridPanel to be initially rendered empty, with the expensive update of the row +structure deferred so that layouts with GridPanels appear more quickly. | GridPanel | ||
disableSelection : Boolean true to disable selections in the grid. Defaults to false. Ignored if a SelectionModel is specified. | GridPanel | ||
disabled : Boolean Render this panel disabled (default is false). An important note when using the disabled
config on panels is that IE ... Render this panel disabled (default is false ). An important note when using the disabled
config on panels is that IE will often fail to initialize the disabled mask element correectly if
@@ -276,17 +276,17 @@ added by implementing the interface methods of Panel | |||
enableColumnHide : Boolean Defaults to true to enable hiding of columns
-with the header menu. | GridPanel | ||
enableColumnMove : Boolean Defaults to true to enable drag and drop reorder of columns. false
-to turn off column reordering via drag drop. | GridPanel | ||
enableColumnResize : Boolean false to turn off column resizing for the whole grid. Defaults to true. | GridPanel | ||
enableDragDrop : Boolean Enables dragging of the selected rows of the GridPanel. Defaults to false.
-Setting this to true causes this GridPane... Enables dragging of the selected rows of the GridPanel. Defaults to false. -Setting this to true causes this GridPanel's GridView to -create an instance of Ext.grid.GridDragZone. Note: this is available only after -the Grid has been rendered as the GridView's dragZone -property. -A cooperating DropZone must be created who's implementations of -onNodeEnter, onNodeOver, -onNodeOut and onNodeDrop are able +}).show(); | Panel | ||
enableColumnHide : Boolean Defaults to true to enable hiding of columns
+with the header menu. | GridPanel | ||
enableColumnMove : Boolean Defaults to true to enable drag and drop reorder of columns. false
+to turn off column reordering via drag drop. | GridPanel | ||
enableColumnResize : Boolean false to turn off column resizing for the whole grid. Defaults to true. | GridPanel | ||
enableDragDrop : Boolean Enables dragging of the selected rows of the GridPanel. Defaults to false.
+Setting this to true causes this GridPanel... Enables dragging of the selected rows of the GridPanel. Defaults to false. +Setting this to true causes this GridPanel's GridView to +create an instance of Ext.grid.GridDragZone. Note: this is available only after +the Grid has been rendered as the GridView's dragZone +property. +A cooperating DropZone must be created who's implementations of +onNodeEnter, onNodeOver, +onNodeOut and onNodeDrop are able to process the data which is provided. | GridPanel | ||
enableHdMenu : Boolean Defaults to true to enable the drop down button for menu in the headers. | GridPanel | ||
fbar : Object/Array A Toolbar object, a Toolbar config, or an array of
Buttons/Button configs, describing a Toolbar to be rendered into t... | Observable | ||
loadMask : Object An Ext.LoadMask config or true to mask the grid while
+}); | Observable | ||
loadMask : Object An Ext.LoadMask config or true to mask the grid while
loading. Defaults to false . | GridPanel | ||
margins : Object Note: this config is only used when this BoxComponent is rendered
by a Container which has been configured to use the... Note: this config is only used when this BoxComponent is rendered by a Container which has been configured to use the BorderLayout @@ -681,8 +681,8 @@ to render and manage its child items. When using this config, a call to render() is not required.
See render also. | Component | ||
resizeEvent : String The event to listen to for resizing in layouts. Defaults to 'bodyresize'. | Panel | ||
selModel : Object Any subclass of Ext.grid.AbstractSelectionModel that will provide
-the selection model for the grid (defaults to Ext.... Any subclass of Ext.grid.AbstractSelectionModel that will provide
+ See render also. | Component | ||
resizeEvent : String The event to listen to for resizing in layouts. Defaults to 'bodyresize'. | Panel | ||
selModel : Object Any subclass of Ext.grid.AbstractSelectionModel that will provide
+the selection model for the grid (defaults to Ext.g... Any subclass of Ext.grid.AbstractSelectionModel that will provide
the selection model for the grid (defaults to Ext.grid.RowSelectionModel if not specified). | GridPanel | ||
shadow : Boolean/String true (or a valid Ext.Shadow Ext.Shadow.mode value) to display a shadow behind the
panel, false to display no shadow (... true (or a valid Ext.Shadow Ext.Shadow.mode value) to display a shadow behind the
panel, false to display no shadow (defaults to 'sides' ). Note that this option
@@ -690,12 +690,12 @@ only applies when
| Panel | ||
shim : Boolean false to disable the iframe shim in browsers which need one (defaults to true).
Note that this option only applies wh... false to disable the iframe shim in browsers which need one (defaults to true ).
-Note that this option only applies when floating = true . | Panel | ||
sm : Object Shorthand for selModel. | GridPanel | ||
stateEvents : Array An array of events that, when fired, should trigger this component to save its state.
-Defaults to:stateEvents: ['col... An array of events that, when fired, should trigger this component to save its state.
-Defaults to:
-These can be any types of events supported by this component, including browser or -custom events (e.g., ['click', 'customerchange']). -See Ext.Component.stateful for an explanation of saving and restoring
+Note that this option only applies when | Panel | ||
sm : Object Shorthand for selModel. | GridPanel | ||
stateEvents : Array An array of events that, when fired, should trigger this component to save its state.
+Defaults to:stateEvents: ['colu... An array of events that, when fired, should trigger this component to save its state.
+Defaults to:
+These can be any types of events supported by this component, including browser or +custom events (e.g., ['click', 'customerchange']). +See Ext.Component.stateful for an explanation of saving and restoring Component state. | GridPanel | ||
stateId : String The unique id for this component to use for state management purposes
(defaults to the component id if one was set, o... The unique id for this component to use for state management purposes
(defaults to the component id if one was set, otherwise null if the
@@ -737,11 +737,11 @@ properties into the object, but a developer may override this to support
more behaviour.
You can perform extra processing on state save and restore by attaching handlers to the beforestaterestore, staterestore, -beforestatesave and statesave events. | Component | ||
store : Ext.data.Store The Ext.data.Store the grid should use as its data source (required). | GridPanel | ||
stripeRows : Boolean true to stripe the rows. Default is false.
-This causes the CSS class x-grid3-row-alt to be added to alternate rows o... true to stripe the rows. Default is false.
- This causes the CSS class x-grid3-row-alt to be added to alternate rows of -the grid. A default CSS rule is provided which sets a background colour, but you can override this -with a rule which either overrides the background-color style using the '!important' +beforestatesave and statesave events. | Component | ||
store : Ext.data.Store The Ext.data.Store the grid should use as its data source (required). | GridPanel | ||
stripeRows : Boolean true to stripe the rows. Default is false.
+This causes the CSS class x-grid3-row-alt to be added to alternate rows of... true to stripe the rows. Default is false.
+ This causes the CSS class x-grid3-row-alt to be added to alternate rows of +the grid. A default CSS rule is provided which sets a background colour, but you can override this +with a rule which either overrides the background-color style using the '!important' modifier, or which uses a CSS selector of higher specificity. | GridPanel | ||
style : String A custom style specification to be applied to this component's Element. Should be a valid argument to
Ext.Element.ap... A custom style specification to be applied to this component's Element. Should be a valid argument to
Ext.Element.applyStyles.
@@ -892,13 +892,13 @@ Used in conjunction with the The Ext.(X)Template method to use when
updating the content area of the Component. Defaults to 'overwrite'
-(see | Component | ||
trackMouseOver : Boolean True to highlight rows when the mouse is over. Default is true
+(see Ext.XTemplate.overwrite ). | Component | ||
trackMouseOver : Boolean True to highlight rows when the mouse is over. Default is true
for GridPanel, but false for EditorGridPanel. | GridPanel | ||
unstyled : Boolean | Panel | ||
view : Object The Ext.grid.GridView used by the grid. This can be set
-before a call to render(). | GridPanel | ||
viewConfig : Object A config object that will be applied to the grid's UI view. Any of
-the config options available for Ext.grid.GridVi... A config object that will be applied to the grid's UI view. Any of
-the config options available for Ext.grid.GridView can be specified here. This option
+the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden). | Panel | ||
view : Object The Ext.grid.GridView used by the grid. This can be set
+before a call to render(). | GridPanel | ||
viewConfig : Object A config object that will be applied to the grid's UI view. Any of
+the config options available for Ext.grid.GridVie... A config object that will be applied to the grid's UI view. Any of
+the config options available for Ext.grid.GridView can be specified here. This option
is ignored if view is specified. | GridPanel | ||
width : Number The width of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset se... The width of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset see Ext.Component.anchor. | BoxComponent | ||
x : Number The local x (left) coordinate for this component if contained within a positioning container. | BoxComponent | ||
xtype : String The registered xtype to create. This config option is not used when passing
@@ -1043,38 +1043,38 @@ removing the component from its Ext.ComponentMgr. Destruction is generally handled automatically by the framework and this method
should usually not need to be called directly. Parameters:
| Component | ||
enableBubble( String/Array events )
:
- voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
-this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
- This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default -implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to -access the required target more quickly. -Example:
| Observable | ||
expand( Boolean animate )
:
Ext.PanelExpands the panel body so that it becomes visible. Fires the beforeexpand event which will
@@ -1123,7 +1123,9 @@ or use a render listener directly:
Parameters:
| Component | ||
getFrameHeight()
+}); Parameters:
| Component | ||
getFooterToolbar() + : + Ext.Toolbar | Panel | ||
getFrameHeight()
:
Number Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
header and ... Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
@@ -1175,9 +1177,9 @@ contains both the <input> Element (which is what would be return
by its getEl method, and the trigger button Element.
This Element is returned as the resizeEl .Parameters:
| BoxComponent | ||
getSelectionModel()
:
- SelectionModel Returns the grid's selection model configured by the selModel
-configuration option. If no selection model was config... Returns the grid's selection model configured by the selModel
-configuration option. If no selection model was configured, this will create
+ SelectionModelReturns the grid's selection model configured by the selModel
+configuration option. If no selection model was configu... Returns the grid's selection model configured by the selModel
+configuration option. If no selection model was configured, this will create
and return a RowSelectionModel.Parameters:
| GridPanel | ||
getSize()
:
Object Gets the current size of the component's underlying element. Gets the current size of the component's underlying element. Parameters:
| BoxComponent | ||
getStore()
@@ -1258,14 +1260,14 @@ is the scope (this reference) in which the handler function is exec
:
voidRemoves all listeners for this object Removes all listeners for this object Parameters:
| Observable | ||
reconfigure( Ext.data.Store store , Ext.grid.ColumnModel colModel )
:
- voidReconfigures the grid to use a different Store and Column Model
-and fires the 'reconfigure' event. The View will be ... Reconfigures the grid to use a different Store and Column Model -and fires the 'reconfigure' event. The View will be bound to the new -objects and refreshed. -Be aware that upon reconfiguring a GridPanel, certain existing settings may become -invalidated. For example the configured autoExpandColumn may no longer exist in the -new ColumnModel. Also, an existing PagingToolbar will still be bound -to the old Store, and will need rebinding. Any plugins might also need reconfiguring + void Reconfigures the grid to use a different Store and Column Model
+and fires the 'reconfigure' event. The View will be b... Reconfigures the grid to use a different Store and Column Model +and fires the 'reconfigure' event. The View will be bound to the new +objects and refreshed. +Be aware that upon reconfiguring a GridPanel, certain existing settings may become +invalidated. For example the configured autoExpandColumn may no longer exist in the +new ColumnModel. Also, an existing PagingToolbar will still be bound +to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data. Parameters:
| GridPanel | ||
relayEvents( Object o , Array events )
:
voidRelays selected events from the specified Observable as if the events were fired by this. Relays selected events from the specified Observable as if the events were fired by this. Parameters:
| Observable | ||
removeAll( [Boolean autoDestroy ] )
@@ -1307,10 +1309,10 @@ event...Resume firing events. (see Parameters:
| Observable | ||
setAutoScroll( Boolean scroll )
:
- Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. Parameters:
| BoxComponent | ||
setHeight( Number height )
+ Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. Parameters:
| BoxComponent | ||
setHeight( Mixed height )
:
- Ext.BoxComponentSets the height of the component. This method fires the resize event. Sets the height of the component. This method fires the resize event. Parameters:
| BoxComponent | ||
setIconClass( String cls )
@@ -1347,10 +1349,10 @@ In order to be able to set the title, a header eleme... | Panel | ||
setVisible( Boolean visible )
:
- Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | ||
setWidth( Number width )
+ Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | ||
setWidth( Mixed width )
:
- Ext.BoxComponentSets the width of the component. This method fires the resize event. Sets the width of the component. This method fires the resize event. Parameters:
| BoxComponent | ||
show() : @@ -1428,16 +1430,16 @@ has a null implementation. | Fires when the body element is scrolled Fires when the body element is scrolled Listeners will be called with the following arguments:
| GridPanel | |
cellclick :
( Grid this , Number rowIndex , Number columnIndex , Ext.EventObject e )
- Fires when a cell is clicked.
-The data for the cell is drawn from the Record
-for this row. To access the data in th... Fires when a cell is clicked.
-The data for the cell is drawn from the Record
-for this row. To access the data in the listener function use the
-following technique:
-
| GridPanel | ||
cellcontextmenu :
( Grid this , Number rowIndex , Number cellIndex , Ext.EventObject e )
Fires when a cell is right clicked Fires when a cell is right clicked Listeners will be called with the following arguments:
| GridPanel | ||
celldblclick : |