redoing changes in expandable.js to open subgrid when row is clicked