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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:01:59+00:00 2026-05-20T02:01:59+00:00

I am doing something similar to this question where I have a list of

  • 0

I am doing something similar to this question where I have a list of checkboxes as a custom edit control. The difference is that I want to get my list from the server (not hard coded on the client with Check1, Check2, Check3.

Is there any way to do this either in the column setup or in the custom_element function?

It seems like I need something similar to the dataUrl property that you use for select items but that seems to only apply to select items (not custom ones).

Any suggestions?

  • 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-20T02:02:00+00:00Added an answer on May 20, 2026 at 2:02 am

    You can use any list option (to be exactly editoptions) during the grid initialization and then overwrite the value with the real data loaded from the server:

    $("#list").jqGrid({
        colModel: [
            {name:'MyMultiCheck',edittype:'custom',
             editoptions:{custom_element:MultiCheckElem,
                          custom_value:MultiCheckVal,list:''}
            }
            ...
        ]
        ...
    });
    $.ajax({
        url:"getMultiCheckList",
        // any other parameters like dataType:'json',
        // type: 'POST' (default type is 'GET') which depend on the server
        success: function(data){
            // the code here depend on the format of data returned from the server
            // in the simplest situation we have as data already the comma-separated
            // string which we need as a value for the list parameter so we can do
            jQuery("#list").setColProp('MyMultiCheck',{editoptions:{list:data}});
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to do something similar to this question VI (VIM): delete/change right to
I'm doing something very similar to the stackoverflow question preview only much more basic.
Im doing something quite specific where I have a text input, I want to
edit : I based this question on a false assumption - that the generic
I need to do something similar to the task described in this question: Construct
Although this question is similar to this thread I think I might be doing
I am trying to do something similar to what the person in this question
I am writing something that is similar to a task scheduler. I have two
I'm using phpQuery to parse a some HTML that have a similar to this
I am in the process of making something similar to this: http://www.artversion.com/pdf/WebsiteDesignQuestionnaires.pdf I have

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.