angular2 template - update table data based on combo box selected value angular 2 -


<foo-combo-box (change)="changeselecteduser($event.target.value)" ></foo-combo-box>  <foo-table [colheads]="getcolheads()"               [data]="[]"> </foo-table> 

i new angular 2. able selected value, based on value want updated table data. how bind service? have changeselecteduser method in component. have tried call backend service using selected user value, didn't work suggestions please


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -