UNPKG

@adaptabletools/adaptable

Version:

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

29 lines (28 loc) 1.06 kB
import * as React from 'react'; import { ScopeDataType, ColumnScope } from '../../AdaptableState/Common/ColumnScope'; import { AdaptableColumn } from '../../types'; export declare const isScopeValid: ({ Scope }: { Scope: ColumnScope; }) => string | true; export declare const renderScopeSummary: (scope: ColumnScope, labels: { scopeWholeRow: string; scopeColumns: string; scopeDataTypes: string; }) => React.JSX.Element; export interface NewScopeComponentProps extends React.ClassAttributes<any> { scope: ColumnScope; scopeColumns?: AdaptableColumn[]; updateScope: (scope: ColumnScope) => void; availableDataTypes?: ScopeDataType[]; hideWholeRow?: boolean; style?: React.CSSProperties; descriptions: { rowScope: string; columnScope: string; dataTypeScope?: string; }; disableDataTypes?: boolean; disableColumns?: boolean; isColumnAvailable?: (column: AdaptableColumn) => boolean; } export declare const NewScopeComponent: (props: NewScopeComponentProps) => React.JSX.Element;