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 | |
---|---|---|
enter_is_tab : Boolean
Enter behaves the same as tab.
Enter behaves the same as tab. (eg. goes to next cell) default: false
|
Roo.grid.CellSelectionModel | |
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 | |
Roo.grid.CellSelectionModel | ||
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 | |
---|---|---|
beforeeditnext (Object eventdata)
Fires before the next editable sell is made active
You can use this to skip to another cell or fire the tabend if you set cell to false
Fires before the next editable sell is made active
You can use this to skip to another cell or fire the tabend if you set cell to false
|
Roo.grid.CellSelectionModel | |
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 | |
tabend (SelectionModel this)
Fires when the tab (or enter) was pressed on the last editable cell
You can use this to trigger add new row.
Fires when the tab (or enter) was pressed on the last editable cell
You can use this to trigger add new row.
|
Roo.grid.CellSelectionModel |