ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
29 lines (28 loc) • 1.1 kB
TypeScript
import type { AgColumn } from '../entities/agColumn';
import type { RowNode } from '../entities/rowNode';
import { Component } from '../widgets/component';
export declare class RowDragComp extends Component {
private readonly cellValueFn;
private readonly rowNode;
private readonly column?;
private readonly customGui?;
private readonly dragStartPixels?;
private readonly alwaysVisible;
private dragSource;
private mouseDownListener;
private disabled;
constructor(cellValueFn: () => string, rowNode: RowNode, column?: AgColumn<any> | undefined, customGui?: HTMLElement | undefined, dragStartPixels?: number | undefined, alwaysVisible?: boolean);
isCustomGui(): boolean;
postConstruct(): void;
private initCellDrag;
setDragElement(dragElement: HTMLElement, dragStartPixels?: number): void;
refreshVisibility(): void;
private setDisabled;
private getSelectedNodes;
private getDragItem;
private addDragSource;
private getDragItemName;
destroy(): void;
private removeDragSource;
private removeMouseDownListener;
}