Hi,
I have one grid view with fields
I have one dropdoown with relevant values like below
1)Dropdown 2)DatePicker 3)Textbox
1)If i can select dropdown i need to disable column Date
2)If i can select datepicker i need to disable 3 columns (FromTable,
DisplaycName,ValueCName)
3)If i can select textbox need to disable all the coulms (Date,
FromTable, DisplaycName,ValueCName)
Could you please check it and help me
<table id="tblOrders" class="table table-responsive">
<tr>
<th>Cname</th>
<th>Ctype</th>
<th>From Table</th>
<th>DisplayCName</th>
<th>ValueCName</th>
<th>Date</th>
</tr>
<tbody ng-repeat="detail in Details">
<tr>
<td>{{detail.CName}}</td>
<td>
<select ng-model="detail.CType" class="form-control">
<option value="audi" selected>Select value</option>
<option value="Dropdown">Dropdown</option>
<option value="Textbox">Textbox</option>
<option value="DatePicker">DatePicker</option>
</select>
</td>
<td><input type="text" class="form-control" ng-model="detail.FromTable" /></td>
<td><input type="text" class="form-control" ng-model="detail.DisplayCName" /></td>
<td><input type="text" class="form-control" ng-model="detail.ValueCName" /></td>
<td>
<select ng-model="detail.Date" class="form-control">
<option value="Today" >Today</option>
<option value="Lastday">Lastday</option>
</select>
</td>
</tr>
</tbody>
</table>