Olga K
Olga K

Reputation: 91

editable form with angularjs

I have an editable table enter image description here 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

Answers (1)

Sanjay Nishad
Sanjay Nishad

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

Related Questions