jqgrid resizable
Does anybody know how to make a jqGrid resizable? I want that sweet lit开发者_如何学JAVAtle handle in the down right corner.
You can use
jQuery('#list').jqGrid('gridResize');
(see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#resizable_grid). You should don't forget include jQuery UI and during download of jqGrid include "jQuery UI addons".
You can use:
$(window).on("resize", function () {
var wd = 1000;
$(grid_selector).setGridWidth(wd);
}).trigger("resize");
精彩评论