Reputation: 91
I have an editable table It works fine, but i have to hide editable row and show that on button click for example. how I can do this?
<td contenteditable='true'>
<label class="text">
<input type="text" ng-model="medication.description" ng-change="editMedication(medication)"/>
{{medication.description}}
</td>
<td>
<label for="edit">
<input type="button" id = "edit" ng-model="medication" ng-change="editMedication(medication)" >
</label>
</td>
</tr>
</table>
Upvotes: 0
Views: 1590
Reputation: 1605
you should use angular-xeditable, using this you will be able to create table Editable column
, Editable row
and Editable table
Upvotes: 1