I have a table with rows of data on it. I want most of the row to be editable by clicking either the row itself or an edit button.
Let's say I have a table that lists products:
- Product Name
- Brand
- Model
- Price
I'm able to accomplish this by using jQuery and jEditable; and also by using the jeditable-rails gem. But I can only edit one cell at a time.
What I need is this: If I click in the Edit button or the row itself. All those four cells in the table should become editable.