import type { PathFn } from '../DataTable/CellTemplateFunction'; import type { ItemTemplateFunction } from './ItemTemplateFunction'; /** * Represents the `IDataListItemDefinition` interface. * * @public */ export interface IDataListItemDefinition { /** * Identifies the data item to be displayed in this column */ key: string; /** * Column title, if not provided key is used as title */ title?: string; /** * The member path or value getter function for the data to bind in the list item cell. * Accepts either a dot-separated string path (e.g., `'customer.name'`, `'approvals.[].approvedBy'`) * or a callback function that extracts the display value from the data item. * * @public */ pathFn?: PathFn; /** * Shows the column or not. */ hidden?: string; /** * A custom template callback for rendering the item content. * When provided, this callback is used instead of the default text rendering. * * @public */ itemTemplate?: ItemTemplateFunction; } //# sourceMappingURL=IDataListItemDefinition.d.ts.map