d3lm / ngx-drag-to-select

A lightweight, fast, configurable and reactive drag-to-select component for Angular 10 and beyond
https://www.npmjs.com/package/ngx-drag-to-select
MIT License
293 stars 64 forks source link

In container-grid, selected cell data is not getting updated if there are 2 different grids but sharing single method to update #154

Open Ankita2005199 opened 2 years ago

Ankita2005199 commented 2 years ago

Here is stackblitz url Editor url : https://stackblitz.com/edit/ngx-drag-to-select-mcmmtg?file=src/app/app.component.html Application url : https://ngx-drag-to-select-mcmmtg.stackblitz.io

dual selection

suppose we select Document1 cell from First container-grid then in selectedIds section [ 1 ] will appear as result, then if we select Document2 cell from second container-grid then in selectedIds section [ 2 ] will appear as result but again if we select Document1 from First container-grid then in selectedIds section [ 1 ] should appear but it will showing second container-grid result.

Note : If we select cell again which was previously selected in container-grid then selection is getting ignored , if we select another cell for this grid then it is working fine.

Expected result : cell should be selected again and result should get updated

Ankita2005199 commented 2 years ago

Please help for this issue... or is there any way to deselect cell of 1st container-grid if cell is selected for another container-grid.