I\'m making a little application in Angular 2, I\'m displaying a table with some data, I wanna get that data when I make a click on my table
Here\'s the code:
HT
use [(ngModel)] to make two way binding of your data to your component. like below
[(ngModel)]
{{users.username}}
Also try
//$event will hold value and other reference. data($event: any) { }
You can get more reference in angular2 side on [] and () notation