Interface ColumnDefinition<DataType>

Type Parameters

Hierarchy

  • ColumnDefinition

Properties

cellAlignment?: "left" | "right" | "middle"

Alignment of data-grid row data cell.

dataRender?: ((entity: DataType) => ReactNode)

Type declaration

    • (entity: DataType): ReactNode
    • Custom rendering of data.

      Parameters

      • entity: DataType

      Returns ReactNode

filter?: boolean

Enables filtering of data.

filteringProps?: DataGridFilteringProps

Enables additional customization of filtering process.

headerAlignment?: "left" | "right" | "middle"

Alignment of data-grid head.

headerRender?: (() => ReactNode)

Type declaration

    • (): ReactNode
    • Custom rendering of data-grid heads th.

      Returns ReactNode

key: KeyLiteralType<DataType>

Unique id of column.

sort?: boolean

Enables sorting of data.

sortingProps?: ColumnSortingProps

Enables additional customization of sorting process.

title?: string

Title to render on column head, th.

width?: number

Width of the column, in number.

Generated using TypeDoc