Open louspringer opened 9 years ago
I've found you may need to set gridOptions.totalItems
manually after a few different issues with our instance - using external sort, sorting, deleting rows and external filter all had this issue.
You may also need to wrap your assignment in a $timeout
because ui-grid does set the numbers, just not to the gridApi.grid.renderContainers.body.renderedRows.length
I was expecting.
Deleting gird rows with
gridOptions.data.splice
does not update girdFooter selected row counts.See http://plnkr.co/edit/a7GogUdI5nDUvc2KN1Rt?p=preview
Example is a fork of Tutorial: 210 Selection.
Steps to reproduce
Before
After