N-FIN-31: apply column size to data table

This commit is contained in:
Markus Thielker 2024-03-16 23:56:03 +01:00
parent 36817e581b
commit 557d898981
No known key found for this signature in database

View file

@ -45,7 +45,8 @@ export function DataTable<TData, TValue>({
<TableRow key={headerGroup.id}>
{headerGroup.headers.map((header) => {
return (
<TableHead key={header.id}>
<TableHead key={header.id}
style={{minWidth: `${header.column.getSize()}px`}}>
{header.isPlaceholder
? null
: flexRender(