new CellEditorMediator(grid)
Mediator class for Cell Editing - All editors commands are mediated by
this class
Parameters:
| Name | Type | Description |
|---|---|---|
grid |
pear.ui.Grid |
- Source:
Extends
- goog.Disposable
Methods
-
ActivateCellEditor(gridcell)
-
Activate Editor - this will open the Editor on Target GridCell
Parameters:
Name Type Description gridcellpear.ui.GridCell on which editor will open - Source:
-
commit()
-
Commit
- Source:
-
<protected> destroyGridCell()
-
GridCell Ref null out
- Source:
-
<protected> disposeInternal()
-
Deletes or nulls out any references to COM objects, DOM nodes, or other disposable objects
- Source:
-
getGrid() → {pear.ui.Grid}
-
Get Instance of Grid
- Source:
Returns:
- Type
- pear.ui.Grid
-
getGridCell() → {pear.ui.GridCell}
-
Get Grid Cell
- Source:
Returns:
- Type
- pear.ui.GridCell
-
getGridRow() → {pear.ui.GridRow}
-
Get Grid Row
- Source:
Returns:
- Type
- pear.ui.GridRow
-
isActive() → {boolean}
-
Whether Mediator is Active - if a gridcell is hosting a editor , in open state then Mediator is suppose to be active
- Source:
Returns:
- Type
- boolean
-
rollback()
-
Rollback Editor
- Source: