UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

33 lines (32 loc) 926 B
import { AdaptableObject } from './AdaptableObject'; import { CellDataChangedInfo } from '../../types'; import { FlashingCellDefinition } from '../../../types'; /** * Defines an Alert fired by AdapTable */ export interface AdaptableFlashingCell extends AdaptableObject { /** * Rule that caused the FlashingCell to fire */ flashingCellDefinition: FlashingCellDefinition; /** * Data change which triggered the FlashingCell */ cellDataChangedInfo?: CellDataChangedInfo; /** * Direction of the change: 'up', 'down' or 'neutral' */ direction: 'up' | 'down' | 'neutral'; /** * What will flash (e.g. Cell, Row) */ flashTarget: FlashingCellDefinition['FlashTarget']; /** * Column Ids that are flashing */ flashColumnIds: Record<string, boolean>; /** * Primary Key Value of Row which is flashing */ rowPrimaryKey: string; }