Open
Description
The type TableDataColumnConfig extends EuiBasicTableColumn with a few extra props (field and name). Due to our "opinionated" table component we hardcode some props won't work on the TableDataColumnConfig type. Using the Pick or Omit utility types to get only needed properties from EuiBasicTableColumn doesn't work.
A specific example is the truncateText prop. This prop is hardcoded in the Table to always be true, see "libs/orchestrator-ui-components/src/lib/components/Table/Table.tsx"
The TableDataColumnConfig can be found in "libs/orchestrator-ui-components/src/lib/components/Table/columns.ts"
Possible solutions:
- Try to use Pick and select enough props to make the type TableDataColumnConfig work as expected
- Do not extend the EuiBasicTableColumn and build the TableDataColumnConfig from the ground up
This is not realy a bug, its rather an inconvenience for the consumer of the table, as it exposes props that are not working