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
rbhargawFounderAsked:
Who is Participating?
 
Kyle HamiltonData ScientistCommented:
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

0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
you may want to check out this plug-in:

http://ngmodules.org/modules/Smart-Table
0
 
rbhargawFounderAuthor Commented:
Thanks Kyle, that was easy!

I was going through hell using ng-grid whose jquery components were breaking my application
0
 
Kyle HamiltonData ScientistCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.