Adjust initial width
This commit is contained in:
parent
653e52b2df
commit
0f8b1c729c
1 changed files with 1 additions and 6 deletions
|
|
@ -20,16 +20,11 @@ function DataOutputComponent({
|
|||
const columnDefs = columns.map((col, idx) => ({
|
||||
...col,
|
||||
resizable: true,
|
||||
maxWidth: 400,
|
||||
initialWidth: 150,
|
||||
})) as (ColDef<any> | ColGroupDef<any>)[];
|
||||
|
||||
return (
|
||||
<TableComponent
|
||||
gridOptions={{
|
||||
autoSizeStrategy: {
|
||||
type: "fitCellContents",
|
||||
},
|
||||
}}
|
||||
key={"dataOutputComponent"}
|
||||
overlayNoRowsTemplate="No data available"
|
||||
suppressRowClickSelection={true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue