@antv/s2
Version:
effective spreadsheet render core lib
11 lines (10 loc) • 718 B
TypeScript
import type { HeaderCell } from '../../cell';
import { InteractionStateName } from '../../common/constant';
/**
* @description Return all the row cells or column cells which are needed to be highlighted.
* @param id rowId or colId
* @param headerCells all the rowHeader cells or all the colHeader cells
* @param isHierarchyTree The tree mode will only highlight the leaf nodes at the head of the row
*/
export declare const getActiveHoverHeaderCells: (id: string, headerCells: HeaderCell[], isHierarchyTree?: boolean) => HeaderCell<import("@antv/s2").BaseHeaderConfig>[];
export declare const updateAllHeaderCellState: (id: string | undefined, headerCells: HeaderCell[], stateName: InteractionStateName) => void;