In order to resize a grid when the browser window changes its size, you can subscribe to the window.onresize event using jQuery.
window.onresize
Here is an example:
$(window).resize(function() { $(#grid).height($(window).height()); $(#grid).width($(window).width()); });
If you want to do the same using ExtJs framework, please see this link http://myextjs.blogspot.com/2011/11/resize-window-resize-grid.html[^].
ExtJs
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.