Column definition returned by the table schema.

interface IDataTableColumn {
    id: string;
    key: string;
    name: string;
    options: any;
    required: boolean;
    sortable: boolean;
    type: DataTableColumnType;
}

Properties

id: string

Column ID.

key: string

Data key used in row.data.

name: string

Display name.

options: any

Column-specific options.

required: boolean

Whether the column is required.

sortable: boolean

Whether the column supports sorting.

Column data type.