Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch data of multiselect #913

Open
gesaleh opened this issue Dec 4, 2018 · 0 comments
Open

fetch data of multiselect #913

gesaleh opened this issue Dec 4, 2018 · 0 comments

Comments

@gesaleh
Copy link

gesaleh commented Dec 4, 2018

when using option multiselect
I added the option to table
(userRowSelect)="onSelection($event)"

html

<ng2-smart-table [settings]="settings" [source]="source" (deleteConfirm)="onDeleteConfirm($event)" (editConfirm)="onSaveConfirm($event)"
      (createConfirm)="onCreateConfirm($event)" (userRowSelect)="onSelection($event)">

ts

 onSelection(event): void {
        console.log(event.selected);
  }

but this give me data each time i checkbox on row
how to select to use external button to extract the selected rows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant