I am using ag-grid react and when rendering table. I am getting column headers stacked to left.
The CSS provided are:
<div style={{ width: '100%', height: "100vh", marginTop: '5%'}}>
<div
style={{
boxSizing: "border-box",
height: "100vh",
width: "100%"
}}
className="ag-theme-fresh"
>
<AgGridReact
id="myGrid"
columnDefs={this.columnDef}
defaultColDef={this.defaultColDef}
onGridReady={this.onGridReady.bind(this)}
/>
</div>
</div>
The table looks like: Ag-grid column header stacked to left
