Could you please tell me how to remove the resize capability to the ‘Select Columns’ dialog box? It doesn’t seem to have its own ID, but it does have class ‘ui-resizable’.
It would also be useful to know how to resize and reposition this dialog box.
Thanks.
1 Answers
Hello,
You can edit lib/inc/jqgrid_dist.php and search for the line with:
“dialog_opts” : {“width”: 320,”minWidth”: 320, “height”: 450}
and replace it with
“dialog_opts” : {resizable:false, “width”: 320,”minWidth”: 320, “height”: 450}
If you wish to get the dialog object in JS / jquery, you can use this selector:
jQuery(“div[aria-describedby=colchooser_list1]”)
where list1 is grid id.
Your Answer