i have a table grid with binded values. i need to edit and update that value .for that i ve given chek boxes,the selected chekbox row should bind the textbox to edit.based on id how i can do this? in that 2 dropdowns are there how i can edit this way in angular 2
the textboxes should able to submit and edit
- class="col-lg-12 col-md-12 col-sm-12 col-xs-12 popup-content">class="col-lg-6 col-md-6 col-sm-6 col-xs-12 popup-firstcontent">"width: 25%; float:left">class="flexibleColumn" style="position:relative;left:5px;top:2px;">
- class="form-control" [(ngModel)]="type">
- value= {{Dropdowns.ID}}>
- {{Dropdowns.Name}}
class=" popup-input">- "text" [(ngModel)]="Value" value="" class="inputbox" id="textbox_id2">
"width: 5%; float:left">class="flexibleColumn" style="position:relative;left:5px;top:2px;">- class="form-control" [(ngModel)]="Unit">
- value= {{Dropdowns.VD_ID}}>
- {{Dropdowns.VDName}}
class="col-lg-6 col-md-6 col-sm-6 col-xs-12 popup-secondcontent" >class="popup-input">- "text" [(ngModel)]="VariableName" class="inputbox" id="textbox_id1">
class="popup-input">class="styled-select" id="textbox_id5">- [(ngModel)]="IsLookupVariable" >
- >Yes
- >No
- >
- class="col-lg-12 col-md-12 col-sm-12 col-xs-12 container-btn" style="float:center">
- ="add-popup" (click)=" SaveVariableValues(Id, VariableName,IsLookupVariable,Unit,Value,VariableType,VariableTypeID,UnitId,MV_ID)" >Add Variable
- ="add-popup">Change
- class="table1">
"myTable" class="col-lg-10 col-md-10 col-sm-10 col-xs-10 accordion-table">
Variable Type Value Unit Variable Name Is Lookup Variable "let Variables of grid"> - class="custom-checkbox">"first" name="sport[]" type="checkbox" [checked]="isChecked" />
- {{ Variables.Type}}
{{ Variables.Value}} {{ Variables.Unit}} {{ Variables.Name}} {{ Variables.Variable}}
Muthu KumarPosted Jun 14, 2018, 7:11 AM