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 7742467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:16:58+00:00 2026-06-01T09:16:58+00:00

i am using jquery version 4.x and i have implemented column chooser on my

  • 0

i am using jquery version 4.x and i have implemented column chooser on my jqgrid

Now when i click on “Remove All” link button or “Add All” link button then in throws following error in console :

“$(“ul.selected”).sortable is not a function“

Now when i click on (-) button to remove field from list, it throws following error :

“$(this).parent().draggable is not a function“

i have implemented jqgrid in following .js file :

function partygrid()
{
        $("#partylist").jqGrid({
            url: sitepath + 'party/grid',
            datatype: 'json',
            mtype: 'POST',
            height:'220',
            colNames:["party_name","party_type_name","status","action"],
            colModel :[ 
                          {name:'party_name', index:'party_name',width:120,editable:false,editoptions:{size:20},editrules:{required:true,number:false,maxlength:10}},
                          {name:'party_type', index:'party_type',width:120,editable:false,editoptions:{size:20},editrules:{required:true,number:false,maxlength:10}},
                          {name:'is_active', index:'is_active',search:false},
                          {name:'act', index:'act',width:50,search:false}
                       ],
            pager: '#partytoolbar',
            rowNum:10,
            rowList:[10,20,30],
            sortname: 'party_id',
            sortorder: 'desc',
            viewrecords: true,
            rownumbers: true,
            gridview: true,
            multiselect: true,
            autoresize:true,
            autowidth: true,
            editurl: sitepath + 'party/grid',
            toolbar: [true,"top"],
            gridComplete: function () 
            {
                 var grid = jQuery("#partylist");
                 var ids = grid.jqGrid('getDataIDs');
                 for (var i = 0; i < ids.length; i++) 
                 {  

                 }
            },
            caption: 'Party List'
         });
         jQuery("#partylist").jqGrid('navGrid','#partytoolbar',{view:false,edit:false,add:false,del:false,search: false});
         jQuery("#partylist").jqGrid('navButtonAdd','#partytoolbar',
                 { 
                     caption: "Columns", 
                     title: "Reorder Columns", 
                     onClickButton : function ()
                     { 
                        jQuery("#partylist").jqGrid('columnChooser'); 
                     } 
                 });
}    

I have implemented column chooser in above snippet.

but facing above mentioned two errors.

Any suggestions will be appreciated.

Thnx in advance

  • 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-06-01T09:16:59+00:00Added an answer on June 1, 2026 at 9:16 am

    First of all you should look in the answer and verify that you included all CSS and JavaScript files in correct order and from the correct source. It seems to me that you don’t included jQuery UI jquery-ui.min.js which is not required for the base jqGrid, but is do requited for ui.multiselect.js and the columnChooser.

    Additionally I would recommend you to use modified version of columnCooser like I described it in the answer. I hope that my suggestions will be included in the next release of jqGrid.

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

Sidebar

Related Questions

I have a page using JQuery and I've implemented infinite scrolling on a div.
is there anyone who have experienced problems using the latests jQuery version with one
I am using a counter plugin for jquery (http://wplayground.comuv.com/counter/) and have it implemented successfully
This simple script, to add / delete tablerows using jQuery works well with version
Using tinyMCE jquery version. I have a content page where there could be many
I am using jquery fancybox version 2.0.3. I want to prevent close on click
Using jQuery version 1.4.2 and Validation plugin version 1.8.1 I have a textbox that
I am using jQuery font selector plugin posted here http://www.fullfatcode.com/2011/04/10/jquery-font-selector-version-2/ It's all good, except,
I'm using jQuery version 1.7.1 from Google CDN and have the following code: $(menuInstance).delay(2000).removeClass('loading').html(ul);
Using an adapted version of jquery.inplace.js for some page creation and use an OBDC

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.