Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ngx-datatable [rows]="users" [selected]="selectedUsers">...
- @Component()
- export class UsersComponent {
- users: any;
- selectedUsers: any;
- /* ... */
- selectAllUsers(): void {
- this.selectedUsers = [...users];
- }
- }
Add Comment
Please, Sign In to add comment