Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7129979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:18:03+00:00 2026-05-28T11:18:03+00:00

Please find the column reordering and column chooser dialog as used with jqGrid when

  • 0

Dialog

Please find the column reordering and column chooser dialog as used with jqGrid when used with a ui.multiselect.js.

I want to alter the style of the ui.multiselect plugin without altering the js file. Just want to override a few things.
Firstly I want the two column headers to be at same level height – 6 items selected and right side column header Add all.
I wan to change the text for 6 items selected to Avlialble Columns and right column header to Hidden Columns. How can this be done by overriding the ui.multiselect plugin in a separate file (js) so when I call grid.jqGrid(‘columnChooser’) it automacially applies the overriden styles.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:18:04+00:00Added an answer on May 28, 2026 at 11:18 am

    First of all I find your question very interesting, so +1 from me.

    One thing from the picture, which you posted and which is not directly the part of your question, seems me a little strange: the Column Chooser dialog has no resizable part at the right bottom corner of the dialog. It could be some additional settings which you use. I personally find better to have the dialog resizable.

    Now back to your main question. To change the default texts ‘items selected’, ‘Add all’ and ‘Remove all’ you can use the following code:

    $.extend($.ui.multiselect, {
        locale: {
            addAll: 'Make all visible',
            removeAll: 'Hidde All',
            itemsCount: 'Avlialble Columns'
        }
    });
    

    Additionally you can consider to change the width of the Column Chooser dialog and the proportions between the left and the right panel with

    $.extend(true, $.jgrid.col, {
        width: 500,
        msel_opts: {dividerLocation: 0.5}
    });
    

    or set the same parameters in the call of the columnChooser:

    $grid.jqGrid('navButtonAdd', '#pager', {
        caption: "",
        buttonicon: "ui-icon-calculator",
        title: "Choose columns",
        onClickButton: function () {
            $(this).jqGrid('columnChooser',
                {width: 500, msel_opts: {dividerLocation: 0.5}});
        }
    });
    

    As the results you will have the dialog like

    enter image description here

    see the demo.

    You can additionally consider to disable the searchable field of the column chooser if you don’t plan to use it. It will save the width in the dialog:

    $.extend(true, $.ui.multiselect, {
        defaults: {
            searchable: false
        },
        locale: {
            addAll: 'Make all visible',
            removeAll: 'Hidde All',
            itemsCount: 'Avlialble Columns'
        }
    });
    

    UPDATED: If you need some additional customization in the Column Chooser dialog you can do the changes manuallyafter the dialog is created. For example the results of the code

    $(this).jqGrid('columnChooser',
        {width: 550, msel_opts: {dividerLocation: 0.5}});
    $("#colchooser_" + $.jgrid.jqID(this.id) + ' div.available>div.actions')
        .prepend('<label style="float:left;position:relative;margin-left:0.6em;top:0.6em">Search:</label>');
    

    will be the following:

    enter image description here

    see the corresponding demo here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anybody knows on how to wrap column names in JQGrid. Please find my JSON
I cannot find where the sqlcmd is? i just want the prompt. please help!
Here is my code, please help me hide the id column in jqGrid, I
Can someone please explain how to read the below code to find last column
Please look at this picture: Is it possible to find per-column sum for all
Please find the below code <?xml version=1.0 encoding=utf-8?> <mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute> <mx:Script> <![CDATA[ [Bindable]
Could you please help me find out the time complexity of the Fleury' algorithm
ereg and eregi functions will be deleted from Php. Please help to find alternatives
Please help me to find out error in my SQL query. I have created
Can somebody please explain how to find out if full text search is enabled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.