0

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 container-grid selection-image

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

AnkiR2005
  • 3
  • 1
  • That's because the `selectedItemsChange` output is only triggered when a selection changes. You have to enable item deselection. Look in the documentation of the library to do so. –  Apr 27 '22 at 09:56
  • Is there any way to deselect cell of 1st container-grid if we select cell of 2nd container-grid ? – AnkiR2005 Apr 27 '22 at 10:44
  • Probably, I'm not familiar with the library so you'd have to look at the documentation –  Apr 27 '22 at 12:05

0 Answers0