LP1832148 Clear selection for deleted grid rows user/berick/lp1832148-ang-grid-selected-delete
authorBill Erickson <berickxx@gmail.com>
Tue, 25 Jun 2019 14:44:57 +0000 (10:44 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 25 Jun 2019 14:45:00 +0000 (10:45 -0400)
commit92794828607787001627bf6cdce0b7023747d0a8
tree62cbc8402a6a43e29c379331215ca9258bc96475
parentffcde0b99035f4afee7e527becdf1aa913af6d70
LP1832148 Clear selection for deleted grid rows

Ignore rows which are no longer present in the grid when displaying the
"X selected" rows label along the top of the Angular grid.

Additionally, teach the grid to clear selected indexes for rows that are
no longer present for a bit of low-impact release of memory.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html
Open-ILS/src/eg2/src/app/share/grid/grid.ts