UNPKG

@adaptabletools/adaptable

Version:

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

31 lines (30 loc) 849 B
import { BaseState } from './BaseState'; import { ColumnScope } from './Common/ColumnScope'; import { AdaptableBooleanQuery } from './Common/AdaptableQuery'; import { SuspendableObject } from './Common/SuspendableObject'; /** * Adaptable State Section for Plus Minus Module */ export interface PlusMinusState extends BaseState { /** * Array of Plus Minus Nudges */ PlusMinusNudges?: PlusMinusNudge[]; } /** * Defines a Plus Minus Rule - used in the Plus Minus Module */ export interface PlusMinusNudge extends SuspendableObject { /** * Where Rule is applied */ Scope: ColumnScope; /** * Amount by which to update cell when Rule is applied */ NudgeValue: number; /** * (Optional) Boolean Expression to determine whether to apply the Nudge */ Rule?: AdaptableBooleanQuery; }