Roo.util.Observable Roo.grid.AbstractSelectionModel Roo.grid.CellSelectionModel
Package: | Roo.grid |
Defined In: | Roo/grid/CellSelectionModel.js. |
Class: | CellSelectionModel |
Extends: | Roo.grid.AbstractSelectionModel |
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable |
Method | Defined By | |
---|---|---|
new Roo.grid.CellSelectionModel
(Object config)
Create a new Roo.grid.CellSelectionModel
Create a new Roo.grid.CellSelectionModel
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
clearSelections
(Boolean true)
Clears all selections.
Clears all selections.
|
Roo.grid.CellSelectionModel | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
getSelectedCell
()
:
Array
Returns the currently selected cell,.
Returns the currently selected cell,.
|
Roo.grid.CellSelectionModel | |
Roo.util.Observable | ||
hasSelection
()
:
Boolean
Returns true if there is a selection.
Returns true if there is a selection.
|
Roo.grid.CellSelectionModel | |
isLocked
()
:
Boolean
Returns true if the selections are locked.
Returns true if the selections are locked.
|
Roo.grid.AbstractSelectionModel | |
lock
()
Locks the selections.
Locks the selections.
|
Roo.grid.AbstractSelectionModel | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
Roo.grid.CellSelectionModel | ||
Roo.util.Observable | ||
unlock
()
Unlocks the selections.
Unlocks the selections.
|
Roo.grid.AbstractSelectionModel |
Event | Defined By | |
---|---|---|
Roo.grid.CellSelectionModel | ||
Roo.grid.CellSelectionModel | ||
selectionchange (SelectionModel this, Object selection)
Fires when the active selection changes.
Fires when the active selection changes.
|
Roo.grid.CellSelectionModel |