Skip to main content

DashboardDataTableDisplayComponent

DashboardDataTableDisplayComponent

Allows you to define custom display components for specific columns in data tables. The pageId is already defined in the data table extension, so only the column name is needed.

Signature
interface DashboardDataTableDisplayComponent {
column: string;
component: React.ComponentType<{ value: any; [key: string]: any }>;
}

column

property
string

The name of the column where this display component should be used.

component

property
React.ComponentType<{ value: any; [key: string]: any }>

The React component that will be rendered as the display. It should accept value and other standard display props.