DataGrid column configuration; it has no standalone UI.
interface Column {
dataField: string
caption?: string
width?: string | number
allowSorting?: boolean
allowFiltering?: boolean
cellTemplate?: string
visible?: boolean
alignment?: 'left' | 'center' | 'right'
}| Field | Meaning |
|---|---|
| dataField | Field name; must be unique within a grid. |
| caption | Visible field/column caption. |
| width | Width; Vue numbers use pixels, Flutter uses logical pixels. |
| allowSorting | Allows sorting this column. |
| allowFiltering | Allows filtering this column. |
| cellTemplate | Vue slot name for custom cells. |
| visible | Controls visibility. |
| alignment | Content alignment. |
import type { Column } from '@tekocloud.de/tecexpress'
const example: Column = { dataField: 'name', caption: 'Name' }
console.log(example)