ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
58 lines (57 loc) • 2.65 kB
TypeScript
import { BeanStub } from '../../context/beanStub';
import type { AgColumn } from '../../entities/agColumn';
import type { CellFocusedEvent } from '../../events';
import type { RefreshRowsParams } from '../../interfaces/iCellsParams';
import type { ColumnPinnedType } from '../../interfaces/iColumn';
import type { UserCompDetails } from '../../interfaces/iUserCompDetails';
import type { INotesFeature } from '../../interfaces/notes';
import type { CellCtrl } from '../cell/cellCtrl';
import type { ICellRenderer } from '../cellRenderers/iCellRenderer';
import type { FullWidthTarget, IRowModeFeature } from './iRowModeFeature';
import type { RowCtrl } from './rowCtrl';
export declare class FullWidthRowFeature extends BeanStub implements IRowModeFeature {
private readonly rowCtrl;
private tooltips;
private notesFeature;
private focusEventWhileNotReady;
constructor(rowCtrl: RowCtrl);
initialiseComp(): void;
refreshRow(_params: RefreshRowsParams): void;
private refreshFullWidthComp;
shouldCreateCellSections(): boolean;
getModeCellRenderers(): (ICellRenderer | null | undefined)[];
getAllCellCtrls(): CellCtrl[];
recreateCell(_cellCtrl: CellCtrl): void;
destroyCells(): void;
onDisplayedColumnsChanged(): void;
onVirtualColumnsChanged(): void;
onColumnMoved(): void;
onSpannedCellsUpdated(_pinned: ColumnPinnedType): void;
createFullWidthCompDetails(eRow: HTMLElement, pinned: ColumnPinnedType, adopt?: boolean): UserCompDetails;
setupDetailRowAutoHeight(eDetailGui: HTMLElement): void;
/** Lazily created so a grid without the Tooltip module never instantiates tooltip state. */
private getTooltips;
private addFullWidthRowDragging;
setupFocus(): void;
private restoreFullWidthFocus;
onRowFocused(event?: CellFocusedEvent): void;
onKeyboardNavigate(keyboardEvent: KeyboardEvent): void;
onTabKeyDown(keyboardEvent: KeyboardEvent): void;
getRowContentElement(): HTMLElement | null;
getNavigationColumn(): AgColumn;
onRowMouseDown(mouseEvent: MouseEvent): void;
isSuppressMouseEvent(mouseEvent: MouseEvent): boolean;
getTargets(): FullWidthTarget[];
getTarget(element?: EventTarget | null): FullWidthTarget | undefined;
private getDefaultTarget;
findInfoForEvent(event?: Event): {
column: AgColumn;
pinned: ColumnPinnedType;
} | undefined;
private addFullWidthTarget;
private getFirstColumnForFullWidthSection;
private getFirstDisplayedColumnForFullWidth;
getNotesFeature(): INotesFeature | undefined;
addInitialRowClasses(classes: string[]): void;
destroy(): void;
}