Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Chooser height option does not appear to be working #697

Closed
dss010101 opened this issue Mar 23, 2015 · 4 comments
Closed

Column Chooser height option does not appear to be working #697

dss010101 opened this issue Mar 23, 2015 · 4 comments
Labels

Comments

@dss010101
Copy link

In the code below, regardless of what i set height to, the column chooser opens up at the same height. I have a large number of columns available to choose from on my grid (~50).

    .jqGrid("navGrid", "#pager", { add: false, edit: false, del: false }, {}, {}, {}, {}, {}, {},
            {multipleSearch: true, multipleGroup: true, closeOnEscape: true, showQuery: true, closeAfterSearch: true})
    .jqGrid("navButtonAdd", "#pager", {
        caption: "",
        buttonicon: "ui-icon-calculator",
        title: "Choose Columns",
        onClickButton: function () {
            $(this).jqGrid("columnChooser", { height: 100 });
        }
    })

I am using this with jquery 1.11.2 and jquery-ui 1.11.4.

@tonytomov tonytomov added the Bug label Mar 23, 2015
@tonytomov
Copy link
Owner

Hello,

I confirm the problem. There is another bug related to select all, remove all links. I hope we will fix this ASAP.

@tonytomov
Copy link
Owner

Hello,

In order to solve the problem you will need to set the dialog_opts like this

$(this).jqGrid('columnChooser', { dialog_opts :{ height:300} ,...});

Kind Regards

@Abhishek2792
Copy link

Abhishek2792 commented Feb 22, 2017

Hello,
$(this).jqGrid('columnChooser', { dialog_opts :{ height:300} ,...}); only sets the dialog box height. In case of many columns, bottom part of scrollbar is hidden and some items from multi select list are not visible since it's height is not adjusted with respect to dialog box. Observed that manual resizing of dialog sets the proper height for multi select list but this is not the solution.

@luytk12
Copy link

luytk12 commented Apr 9, 2018

Hello,
I have the same issue as Abhishek2792. Scrollbars are not visible after setting dialog height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants