X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..76cb34406ceaf9681a76e13b531d7eafa483ad88:/docs/output/Ext.grid.CellSelectionModel.html diff --git a/docs/output/Ext.grid.CellSelectionModel.html b/docs/output/Ext.grid.CellSelectionModel.html index 542720ea..047d3fbb 100644 --- a/docs/output/Ext.grid.CellSelectionModel.html +++ b/docs/output/Ext.grid.CellSelectionModel.html @@ -1,559 +1,190 @@ -
Observable - AbstractSelectionModel - CellSelectionModel
Package: | Ext.grid |
Defined In: | CellSelectionModel.js |
Class: | CellSelectionModel |
Extends: | AbstractSelectionModel |
Observable AbstractSelectionModel CellSelectionModel
Package: | Ext.grid |
Defined In: | CellSelectionModel.js |
Class: | CellSelectionModel |
Extends: | AbstractSelectionModel |
The Record -which provides the data for the row containing the selection
An object containing the -following properties: -
The index of the selected row
The index of the selected cell
-Note that due to possible column reordering, the cellIndex should not be used as an index into
-the Record's data. Instead, the name of the selected field should be determined
-in order to retrieve the data value from the record by name:
var fieldName = grid.getColumnModel().getDataIndex(cellIndex);
- var data = record.get(fieldName);
Config Options | -Defined By | -|
---|---|---|
- |
-
- listeners : Object
-
- (optional) A config object containing one or more event handlers to be added to this object during initialization. Th...
-
- (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once.
- |
- Observable | -
Method | -Defined By | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- |
-
- CellSelectionModel( Object config )
-
-
-
-
-
- Parameters:
-
-
|
- CellSelectionModel | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- |
-
- addEvents( Object object ) : void
-
- Used to define events on this Observable
-
- Used to define events on this Observable
-
- Parameters:
-
-
|
- Observable | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- |
-
- addListener( String eventName , Function handler , [Object scope ], [Object options ] ) : void
- Returns:Appends an event handler to this component
-
- Appends an event handler to this component
\ No newline at end of file
+
- Parameters:
-
Config Options
Public Properties
Public Methods
Public Events-
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clearSelections( Boolean preventNotify )
+ :
+ voidIf anything is selected, clears all selections and fires the selectionchange event. If anything is selected, clears all selections and fires the selectionchange event. Parameters:
| CellSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
enableBubble( Object events )
+ :
+ voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fireEvent( String eventName , Object... args )
+ :
+ BooleanFires 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). +An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) +by calling enableBubble. Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
getSelectedCell()
+ :
+ Array Returns an array containing the row and column indexes of the currently selected cell
+(e.g., [0, 0]), or null if none... Returns an array containing the row and column indexes of the currently selected cell
+(e.g., [0, 0]), or null if none selected. The array has elements:
+
Parameters:
| CellSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
hasListener( String eventName )
+ :
+ BooleanChecks to see if this object has any listeners for a specified event Checks to see if this object has any listeners for a specified event Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
hasSelection()
+ :
+ Boolean Returns true if there is a selection. Returns true if there is a selection. Parameters:
| CellSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isLocked()
+ :
+ Boolean Returns true if the selections are locked. Returns true if the selections are locked. Parameters:
| AbstractSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lock()
+ :
+ void Locks the selections. Locks the selections. Parameters:
| AbstractSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
on( String eventName , Function handler , [Object scope ], [Object options ] )
+ :
+ voidAppends an event handler to this object (shorthand for addListener.) Appends an event handler to this object (shorthand for addListener.) Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
purgeListeners()
+ :
+ void Removes all listeners for this object Removes all listeners for this object Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
removeListener( String eventName , Function handler , [Object scope ] )
+ :
+ voidRemoves an event handler. Removes an event handler. Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
resumeEvents()
+ :
+ void Resume firing events. (see suspendEvents)
+If events were suspended using the queueSuspended parameter, then all
+event... Resume firing events. (see suspendEvents)
+If events were suspended using the queueSuspended parameter, then all
+events fired during event suspension will be sent to any listeners now. Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
select( Number rowIndex , Number colIndex , [Boolean preventViewNotify ], [Boolean preventFocus ], [Ext.data.Record r ] )
+ :
+ voidSelects a cell. Before selecting a cell, fires the
+beforecellselect event. If this check is satisfied the cell
+will... Selects a cell. Before selecting a cell, fires the
+beforecellselect event. If this check is satisfied the cell
+will be selected and followed up by firing the cellselect and
+selectionchange events. Parameters:
| CellSelectionModel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
suspendEvents( Boolean queueSuspended )
+ :
+ voidSuspend the firing of all events. (see resumeEvents) Suspend the firing of all events. (see resumeEvents) Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
un( String eventName , Function handler , [Object scope ] )
+ :
+ voidRemoves an event handler (shorthand for removeListener.) Removes an event handler (shorthand for removeListener.) Parameters:
| Observable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
unlock()
+ :
+ void Unlocks the selections. Unlocks the selections. Parameters:
| AbstractSelectionModel |
Event | Defined By | |
---|---|---|
beforecellselect :
+ ( SelectionModel this , Number rowIndex , Number colIndex )
+ Fires before a cell is selected, return false to cancel the selection. Fires before a cell is selected, return false to cancel the selection. Listeners will be called with the following arguments:
| CellSelectionModel | |
cellselect :
+ ( SelectionModel this , Number rowIndex , Number colIndex )
+ Fires when a cell is selected. Fires when a cell is selected. Listeners will be called with the following arguments:
| CellSelectionModel | |
selectionchange :
+ ( SelectionModel this , Object selection )
+ Fires when the active selection changes. Fires when the active selection changes. Listeners will be called with the following arguments:
| CellSelectionModel |