X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/output/Ext.grid.CellSelectionModel.html diff --git a/docs/output/Ext.grid.CellSelectionModel.html b/docs/output/Ext.grid.CellSelectionModel.html index 8d1666d7..c5c19f20 100644 --- a/docs/output/Ext.grid.CellSelectionModel.html +++ b/docs/output/Ext.grid.CellSelectionModel.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  AbstractSelectionModel
    CellSelectionModel

Class Ext.grid.CellSelectionModel

Package:Ext.grid
Defined In:CellSelectionModel.js
Class:CellSelectionModel
Extends:AbstractSelectionModel
This class provides the basic implementation for single cell selection in a grid. +
Observable
  AbstractSelectionModel
    CellSelectionModel

Class Ext.grid.CellSelectionModel

Package:Ext.grid
Defined In:CellSelectionModel.js
Class:CellSelectionModel
Extends:AbstractSelectionModel
This class provides the basic implementation for single cell selection in a grid. The object stored as the selection contains the following properties:
Returns:
  • void
Observable clearSelectionsBoolean preventNotify ) : void
If anything is selected, clears all selections and fires the selectionchange event.
If anything is selected, clears all selections and fires the selectionchange event.
Parameters:
  • preventNotify : Boolean
    true to prevent the gridview from -being notified about the change.
Returns:
  • void
CellSelectionModel enableBubbleObject events ) +being notified about the change.
Returns:CellSelectionModel enableBubbleString/Array events ) : void
Enables 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 @@ -127,13 +127,13 @@ this.getBubbleTarget() if present...

Enables events fi 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:

Ext.override(Ext.form.Field, {
-//  Add functionality to Field's initComponent to enable the change event to bubble

-    initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
-        this.enableBubble('change');
+    //  Add functionality to Field's initComponent to enable the change event to bubble

+    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+        this.enableBubble('change');
     }),
 
-//  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget: function() {
+    //  We know that we want Field's events to bubble directly to the FormPanel.

+    getBubbleTarget : function() {
         if (!this.formPanel) {
             this.formPanel = this.findParentByType('form');
         }
@@ -148,11 +148,11 @@ access the required target more quickly.

}], listeners: { change: function() { -// Title goes red if form has been modified. - myForm.header.setStyle("color", "red"); + // Title goes red if form has been modified. + myForm.header.setStyle('color', 'red'); } } -});
Parameters:
  • events : Object
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable fireEventString eventNameObject... args ) +});
Parameters:Returns:
Observable fireEventString eventNameObject... args ) : Boolean
Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Obse...

Fires the specified event with the passed parameters (minus the event name).