Hi Arun,
You didn't mention whether the button is placed in each list item of table (or) outside the table.
If it is outside the table, will this help? - JS Bin - Collaborative JavaScript Debugging
And also, I guess instead of editable you can use enabled. If you want to change it to editable, you can use the same logic.
Regards,
Sai Vellanki.