Skip to content

Commit

Permalink
Merge pull request #232 from aliwelchoo/dev
Browse files Browse the repository at this point in the history
'domLayout': 'autoHeight' removes default 400px height
  • Loading branch information
BSd3v authored Oct 16, 2023
2 parents ef06128 + bcfe61e commit fff8ba1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib/fragments/AgGrid.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,14 @@ export default class DashAgGrid extends Component {
<div
id={id}
className={className}
style={{height: '400px', width: '100%', ...style}}
style={{
height:
convertedProps.domLayout === 'autoHeight'
? null
: '400px',
width: '100%',
...style,
}}
>
<AgGridReact
ref={this.reference}
Expand Down

0 comments on commit fff8ba1

Please sign in to comment.