ColumnDefinition
A component used to add a column to a DataTable (e.g. {@link QueuesStats․QueuesDataTable})
Component Properties
content: function | React.ReactNodeRenders cell content. If it's a function, it receives DataTable row data as the first argument and DataTable context as the second argument. The render function should return React.ReactNode.
header: React.ReactNodeHeader content.
headerColSpanKey?: stringSpecify the same key for adjacent columns if you want to merge their headers.
name?: stringColumn name is used to add custom classes to cells in the column.
subHeader?: React.ReactNodeSubheader content.
sortingFn?: functionA function that defines sort order. The function should return a negative, zero, or positive value. It receives data for two rows to sort as arguments.
sortDirection?: "asc" | "desc"sort
style?: React.CSSPropertiesstyle