ReactDataTableComponentConfig
ReactDataTableComponentConfig
Configures a CustomDetailComponent to be placed in the given location.
Signature
interface ReactDataTableComponentConfig {
tableId: DataTableLocationId;
columnId: DataTableColumnId;
component: ElementType;
props?: Record<string, any>;
}
tableId
property
DataTableLocationIdThe location in the UI where the custom component should be placed.
columnId
property
DataTableColumnIdThe column in the table where the custom component should be placed.
component
property
ElementTypeThe component to render in the table cell. This component will receive the rowItem prop
which is the data object for the row, e.g. the Product object if used in the product-list table.
props
property
Record<string, any>Optional props to pass to the React component.