@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
19 lines (18 loc) • 517 B
TypeScript
import { AdaptableColumnDataType } from './AdaptableColumn';
/**
* Used in Expressions to reference row values which are not a column definition
*/
export interface AdaptableField {
/**
* Name of field in data source, e.g. 'rowId', 'parentObject.childObject.value'
*/
name: string;
/**
* Label for field (optional - defaults to name)
*/
label?: string;
/**
* Data Type of field, used to validate and show correctly in UI
*/
dataType: AdaptableColumnDataType;
}