ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
29 lines (28 loc) • 4.63 kB
TypeScript
import type { CellFocusedEvent } from '../../events';
import type { EditValue } from '../../interfaces/iEditModelService';
import type { EditPosition, EditRowPosition, StartEditWithPositionParams } from '../../interfaces/iEditService';
import type { CellCtrl } from '../../rendering/cell/cellCtrl';
import type { EditValidationAction, EditValidationResult } from './baseEditStrategy';
import { BaseEditStrategy } from './baseEditStrategy';
export declare class FullRowEditStrategy extends BaseEditStrategy {
beanName: "ariaAnnounce" | "dragSvc" | "dragAndDrop" | "environment" | "eventSvc" | "iconSvc" | "localeSvc" | "popupSvc" | "gos" | "registry" | "context" | "frameworkOverrides" | "eRootDiv" | "agChartsExports" | "rangeSvc" | "advFilterExpSvc" | "advSettingsMenuFactory" | "chartCrossFilterSvc" | "chartMenuItemMapper" | "chartMenuListFactory" | "chartMenuSvc" | "chartTranslation" | "colChooserFactory" | "colMenuFactory" | "colToolPanelFactory" | "enterpriseChartProxyFactory" | "lazyBlockLoadingSvc" | "menuItemMapper" | "menuUtils" | "ssrmBlockUtils" | "ssrmExpandListener" | "ssrmFilterListener" | "ssrmListenerUtils" | "ssrmNodeManager" | "ssrmSortSvc" | "ssrmStoreFactory" | "ssrmStoreUtils" | "statusBarSvc" | "testIdSvc" | "formula" | "sideBar" | "valueCache" | "pagination" | "groupFilter" | "advancedFilter" | "rowModel" | "gridOptions" | "pageBoundsListener" | "rowRenderer" | "valueSvc" | "colModel" | "colViewport" | "colNames" | "visibleCols" | "colMoves" | "colFlex" | "colResize" | "headerNavigation" | "navigation" | "colAnimation" | "focusSvc" | "cellStyles" | "colHover" | "userCompFactory" | "animationFrameSvc" | "sortSvc" | "colFilter" | "filterManager" | "rowContainerHeight" | "selectionSvc" | "rowStyleSvc" | "ctrlsSvc" | "syncSvc" | "validation" | "gridApi" | "eGridDiv" | "withinStudio" | "pivotResultCols" | "autoColSvc" | "selectionColSvc" | "rowNumbersSvc" | "colDefFactory" | "colAutosize" | "rowGroupColsSvc" | "valueColsSvc" | "pivotColsSvc" | "quickFilter" | "showRowGroupCols" | "showRowGroupColValueSvc" | "dataTypeSvc" | "globalListener" | "globalSyncListener" | "stateSvc" | "overlays" | "pinnedRowModel" | "menuSvc" | "apiEventSvc" | "undoRedo" | "rowNodeBlockLoader" | "csvCreator" | "excelCreator" | "clipboardSvc" | "cellNavigation" | "scrollVisibleSvc" | "pinnedCols" | "expressionSvc" | "autoWidthCalc" | "agCompUtils" | "frameworkCompWrapper" | "horizontalResizeSvc" | "filterMenuFactory" | "enterpriseMenuFactory" | "contextMenuSvc" | "editSvc" | "editModelSvc" | "alignedGridsSvc" | "paginationAutoPageSizeSvc" | "pageBounds" | "apiFunctionSvc" | "gridDestroySvc" | "expansionSvc" | "ssrmTxnManager" | "aggFuncSvc" | "filterStage" | "sortStage" | "flattenStage" | "groupStage" | "aggStage" | "aggChildrenSvc" | "pivotStage" | "filterAggStage" | "rowNodeSorter" | "pivotColDefSvc" | "chartSvc" | "aggColNameSvc" | "renderStatus" | "rowDropHighlightSvc" | "rowDragSvc" | "groupEditSvc" | "rowGroupingEditValueSvc" | "stickyRowSvc" | "filterValueSvc" | "cellFlashSvc" | "masterDetailSvc" | "tooltipSvc" | "colGroupSvc" | "rowAutoHeight" | "rowChildrenSvc" | "footerSvc" | "touchSvc" | "rowSpanSvc" | "spannedRowRenderer" | "findSvc" | "multiFilter" | "filterPanelSvc" | "selectableFilter" | "colDelayRenderSvc" | "gridSerializer" | "licenseManager" | "changedPathFactory" | "changeDetectionSvc" | "groupHierarchyColSvc" | "formulaDataSvc" | "formulaInputManager" | "columnStateUpdateStrategy" | undefined;
private rowNode?;
private readonly startedRows;
shouldStop(position?: EditPosition, event?: KeyboardEvent | MouseEvent | null | undefined, _source?: 'api' | 'ui'): boolean | null;
midBatchInputsAllowed({ rowNode }: EditPosition): boolean;
clearEdits(position: EditPosition): void;
start(params: StartEditWithPositionParams): void;
protected processValidationResults(results: EditValidationResult<Required<EditPosition> & EditValue>): EditValidationAction;
stopCancelled(forceCancel: boolean): boolean;
stopCommitted(event: Event | null, commit: boolean): boolean;
onCellFocusChanged(event: CellFocusedEvent<any, any>): void;
cleanupEditors(position?: EditRowPosition, includeEditing?: boolean): void;
/**
* Destroys all editors for a row that started full row editing, including editors
* that are not represented in the edit model (e.g. empty/unedited editors).
*/
private destroyEditorsForRow;
moveToNextEditingCell(prevCell: CellCtrl, backwards: boolean, event?: KeyboardEvent, source?: 'api' | 'ui', preventNavigation?: boolean): boolean | null;
private restoreEditors;
destroy(): void;
}