Attach grid to window or layout

I’d like to make a grid with an attached toolbar. Something like this http://www.dhtmlx.com/docs/products/dhtmlxToolbar/samples/10_icon_size/04_icon_size_window.html
But it should cover the entire page and support resize. If to use a window or layout, the top displays the title.
How to solve this problem?

Hello

See attached demo. Is this what you are looking for?
sample_grid.rar (415 KB)