Jqgrid resizable

Does anyone know how to resize jqGrid? I want this little pen to be in the lower right.

+3
source share
2 answers

you can use

jQuery('#list').jqGrid('gridResize');

(see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#resizable_grid ). You should not forget to include jQuery UI and during the loading of jqGrid enable "jQuery UI addons".

+7
source

You can use:

$(window).on("resize", function () {
        var wd = 1000;
        $(grid_selector).setGridWidth(wd);
    }).trigger("resize");
0
source

Source: https://habr.com/ru/post/1758221/


All Articles