In order to resize a grid when the browser window changes its size, you can subscribe to the
window.onresize event using jQuery.
Here is an example:
If you want to do the same using
ExtJs framework, please see this link