Removing resize capability to 'Select Columns' dialog

QuestionsRemoving resize capability to 'Select Columns' dialog
pcattani asked 3 years ago

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
Abu Ghufran Staff answered 3 years ago

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.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

10 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?