We help IT Professionals succeed at work.

Edit Column Table Angularjs

I wanted a table where I can edit a column in a row. Is there already existing table to do that in angularjs? I am using smart table but that does not have edit functionality
Comment
Watch Question

Big MontyWeb Ninja at large

Commented:
you may want to check out this plug-in:

http://ngmodules.org/modules/Smart-Table
Data Scientist
Most Valuable Expert 2014
Commented:
the whole point of angular is the two way binding. So you bind your table data to the controller, and voila, you have an editable table.

Use input fields and ng-model to bind the data. If you don't like the look of input fields, use css to "un-style" them.



<td><input type='text' ng-model='myItem'></td>

Open in new window

rbhargawFounder

Author

Commented:
Thanks Kyle, that was easy!

I was going through hell using ng-grid whose jquery components were breaking my application
Kyle HamiltonData Scientist
Most Valuable Expert 2014

Commented:
:)