ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
13 lines (12 loc) • 736 B
TypeScript
/**
* Reads a deep property from `data` following a pre-split dotted path. Hot-path variant of
* `_getValueUsingDotField` (ag-stack): callers reading the same field per cell cache `field.split('.')` once
* (on colDef update) and use this, avoiding a split + array allocation per read.
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
*/
export declare function _getValueUsingDotPath(data: any, fields: string[]): any;
/**
* True when `field` reaches `__proto__`: as any segment of its pre-split `fieldPath`, or as the whole field when it
* has no path. Such fields are neither read nor written.
*/
export declare function _isProtoField(field: string, fieldPath: string[] | null): boolean;