开发者

jqgrid resizable

开发者 https://www.devze.com 2023-01-10 21:01 出处:网络
Does anybody know how to make a jqGrid resizable? I want that sweet lit开发者_如何学JAVAtle handle in the down right corner.You can use

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");
0

精彩评论

暂无评论...
验证码 换一张
取 消