ruby-on-railsbest-in-place

best in place gem becomes editable only when clicked on the data , how to enable editing when the user clicks anywhere in that particular td


I'm using the best in place gem for in-place editing in the table. It works great but the column field becomes editable only when clicked on the data. I want it to be editable when clicked anywhere in that column area.

Also how i can i give some styling to indicate the user that the column fields are editable?


Solution

  • I have solved this by applying css to the best in place class provided by the method :)