subheading in Tree Grid

A tree grid allows to combine the functionality of a tree and a grid. We would like to know if it is possible to create a tree grid where on click of each node a complete grid is located with its own heading and data?

Tree Grid-Header
Node 1
Node 2
Grid 2-Header
Grid 2-Data
Grid 2-Footer
Node 3
Tree Grid-Footer

You can try to use sub grid functionality … grids.html