N-FIN-31: apply column size to data table
This commit is contained in:
parent
36817e581b
commit
557d898981
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue