Skip to content
Loading
How to get gridrow values on the textbox for edit Angular 2  
  • "width: 5%; float:left">  
  • class="flexibleColumn" style="position:relative;left:5px;top:2px;">  
  •   
  • "selection1" class="form-control" [(ngModel)]="Unit">  
  • "let Dropdowns of dropdown2" 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">  
  • "selection1" [(ngModel)]="IsLookupVariable" >  
  • "selected">Yes  
  • "">No  
  • "">  
  •   
  •   
  •   
  •   
  •   
  •   
  • class="col-lg-12 col-md-12 col-sm-12 col-xs-12 container-btn" style="float:center">  
  • class="add-popup" (click)=" SaveVariableValues(Id, VariableName,IsLookupVariable,Unit,Value,VariableType,VariableTypeID,UnitId,MV_ID)" >Add Variable  
  • class="add-popup">Change  
  •    
  • class="table1">  
  • "myTable" class="col-lg-10 col-md-10 col-sm-10 col-xs-10 accordion-table">  
  •   
  •  Variable TypeValueUnitVariable NameIs 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}}  
  •   
  •   
  •   
  •   
  • 1 Reply

    Know the answer? Post it — somebody with the same question will find it here.