add fitGridWidth autoSize Strategy
This commit is contained in:
parent
23f0da7cbb
commit
481870f7bd
1 changed files with 2 additions and 1 deletions
|
|
@ -20,11 +20,12 @@ function DataOutputComponent({
|
|||
const columnDefs = columns.map((col, idx) => ({
|
||||
...col,
|
||||
resizable: true,
|
||||
initialWidth: 150,
|
||||
})) as (ColDef<any> | ColGroupDef<any>)[];
|
||||
|
||||
return (
|
||||
<TableComponent
|
||||
autoSizeStrategy={{type: 'fitGridWidth',
|
||||
defaultMinWidth: 100,}}
|
||||
key={"dataOutputComponent"}
|
||||
overlayNoRowsTemplate="No data available"
|
||||
suppressRowClickSelection={true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue