Custom
The typeCell named component
is used to handle any non-generic needs.
Example
H
{
typeCell: 'component',
renderComponent: () => <Avatar>H</Avatar>
}
Props
Name | Type | Required | Default | Description |
---|---|---|---|---|
renderComponent | func | Yes | Function called to render the component. It receives an object argument containing the data of the current row and the event handlers (onClick , onChange , ...) | |
renderExport | func | No | Function called for the export. It must return a string. |