ngx-datatable
ngx-datatable copied to clipboard
need Deselect event
Need deselect event that will contain the row/ rows deselected in the datatable
Much needed feature
In the meantime, you can easily create a "deselected"-Observable yourself like so:
Basically, it's an observable that looks at pairs of the list of selected items and returns what rows were deselected (meaning, when you select something new, a pair of "previous" and "current" are filtered). Maybe ngx-datatable could do it in a similar way?
In the meantime, you can easily create a "deselected"-Observable yourself like so:
Basically, it's an observable that looks at pairs of the list of selected items and returns what rows were deselected (meaning, when you select something new, a pair of "previous" and "current" are filtered). Maybe ngx-datatable could do it in a similar way?
It does not deselect the row, if you select-deselect the same one.
@alexandis try this one https://stackblitz.com/edit/angular-ivy-f38n6l?file=src/app/app.component.ts 😄