Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In ag-grid, are status bars supported in the server side model?

Tags:

ag-grid

I've created the following Plunkr:

https://plnkr.co/edit/UX7qeeul5SfWXtV9rYcf?p=preview

and have added the following code:

  statusBar: {
    statusPanels: [
        { statusPanel: 'agFilteredRowCountComponent' },
        { statusPanel: 'agSelectedRowCountComponent' },
        { statusPanel: 'agAggregationComponent' }
    ]
},

from:

https://www.ag-grid.com/javascript-grid-status-bar/#example-status-bar-simple

However, I am not getting status bars.

Are they supported in the server side model?

like image 224
Mary Avatar asked Oct 21 '25 11:10

Mary


1 Answers

Seems that is an issue of default statusPanel.

Cuz I've checked with custom and it works, here is a sample

*check console, getRangeSelections and getSelectedRows works as expected, so you can try to create own statusPanel with same logic while it wouldn't be fixed.

like image 136
un.spike Avatar answered Oct 23 '25 09:10

un.spike



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!