IDataTableGroupProps

interface
Component Props

Props controlling row grouping in <OrigamDataTable> — accepts an array of sort-item descriptors that define which columns to group by.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

groupBy
Array<IDataTableSortItem>
Columns to group rows by. Each entry is an IDataTableSortItem with a key and optional order. Use v-model:groupBy for two-way binding.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Group by a single column

vue