Added the modification. Need  to check why rowIndex is not working
Added toggleClass feature
Toggling is working now
Added toggler to that clicked row
Only one row is getting highlighted on button click
Added the new features