import type { Column, Formatter, GroupTotalsFormatter } from './index.js'; export type ColumnMetadata = Pick; /** * Provides a powerful way to specify additional informations of data item that can be used customize the grid appearance * and handling of a particular data item. The method should return `null` when the item requires no special handling, * or an object following the ItemMetadata interface */ export interface ItemMetadata { /** any attribute types */ attributes?: any; /** One or more (space-separated) CSS classes that will be added to the entire row. */ cssClasses?: string; /** Whether or not any cells in the row can be set as "active". */ focusable?: boolean; /** A custom group formatter. */ formatter?: GroupTotalsFormatter | Formatter; /** Whether or not a row or any cells in it can be selected. */ selectable?: boolean; /** column-level metadata */ columns?: { [colIdOrIdx in string | number]: ColumnMetadata; }; } //# sourceMappingURL=itemMetadata.interface.d.ts.map