This question is concerning the status bar for ag-grid that comes with the Enterprise Edition. I'm currently using ag-grid-community 19.1 with Angular 7.
I'm looking for the best way to suppress the status-bar? When I don't include the statusBar
grid option at all I'm still seeing empty space at the bottom of my grid (although it is blank), where the status bar should be. Inspecting the generated HTML reveals the existence of this:
<!--AG-STATUS-BAR-->
<div class="ag-status-bar" ref="statusBar">
<div ref="eStatusBarLeft" class="ag-status-bar-left"></div>
<div ref="eStatusBarCenter" class="ag-status-bar-center"></div>
<div ref="eStatusBarRight" class="ag-status-bar-right"></div>
</div>
Now if I removed that section completely in the Chrome console it disappears as desired. But I've tried doing this via css but it doesn't seem to work:
.ag-status-bar {
height: 0px;
}
Honestly, I'd prefer a way of doing it programmatically via a setting in the statusBar
grid option but I don't see anything like that in the ag-grid documentation.
Any help is appreciated; thanks.