IDataTableHeaderProps
interface
Component Props
Top-level header configuration props accepted by <OrigamDataTable> — the array of column header definitions and the initial items array used to infer column keys.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- headersArray<IDataTableHeader>
- Column header definitions. Each entry configures key, title, alignment, sorting, filtering and more.
- itemsArray<any>
- Data rows. Passed here so the header can infer column keys when no explicit headers are provided.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Defining headers on OrigamDataTable