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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:52:49+00:00 2026-05-18T08:52:49+00:00

Sorry to be posting this question. :( But I have spent almost the entire

  • 0

Sorry to be posting this question. 🙁 But I have spent almost the entire day and need another pair of eyes to look into my code.

OS: Windows
Frameworks: JQuery (latest version), JqGrid (latest version), Spring (latest version)
DB: PostgreSql
Tool: Springsource Tools Suite

When I type the below URL, I get XML data back from the server.
http://localhost:8080/myapp/deliveryJqgridData

But the below jqGrid call does not call the above URL. I dont get any error on Spring TC server. I do get the alert message “enteredJqgrid”. The code below is stored in deliveryJqgrid.jsp. The same is accessed through localhost:8080/myapp/deliveryJqgrid.
I have scrambled the column names given below.

        <script type="text/javascript">
        $(function(){
            alert("enteredJqgrid");
          $("#deliveryJqgrid").jqGrid({
            url:'deliveryJqgridData',
            datatype: 'xml',
            mtype: 'GET',
            colNames:['1Col','2Col', '3Col','4Col','5Col','6Col'],
            colModel :[ 
              {name:'1Col', index:'1Col', width:55}, 
              {name:'2Col', index:'2Col', width:90}, 
              {name:'3Col', index:'3Col', width:80, align:'left'}, 
              {name:'4Col', index:'4Col', width:80, align:'left'}, 
              {name:'5Col', index:'5Col', width:80, align:'left'}, 
              {name:'6Col', index:'6Col', width:150, sortable:false} 
            ],
            pager: '#deliveryJqgridPager',
            rowNum:10,
            rowList:[10,20,30],
            sortname: '1Col',
            sortorder: 'asc',
            viewrecords: true,
            caption: 'Delivery List - JQ Grid'
          }); 
        }); 
    </script>        

I have the below div tags in body section.

        <table id="deliveryJqgrid"></table> 
    <div id="deliveryJqgridPager"></div>    

Thanks for your help in advance.
Update

I found the following error on Firebug. Does this give any clue?

b.jgrid.format is not a function 

[Break On This Error] m+"'>"+b.jgrid.format(a.p.pgtext||"","... class='ui-separator'></span></td>"+

  • 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-18T08:52:49+00:00Added an answer on May 18, 2026 at 8:52 am

    I found the problem. I was loading /jquery.jqGrid.min.js before i18n/grid.locale-en.js in my script tag. I reversed the order and it worked!

    Thanks to everyone for their patience in helping me through this silly mistake 🙂

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

Sidebar

Related Questions

Sorry, for double posting, already posted this question once, but I realized I weren't
I'm sorry for posting a semi-duplicate, but I've stopped getting answers in another question
First up, sorry for the mega-posting of code but... I have the following DB
Sorry for this simple question, but I can't solve it... There is an example:
Sorry, I know this question is easy, but I don't know how to get
Sorry but I am not sure how to ask this question but I am
Sorry if this question seems stupid, but it's stumped me for a couple days,
Sorry if this is a stupid question, but is there an easy way to
EDIT: I solved it seconds after posting the question (sorry!) but can't accept an
Sorry if this is an obvious question, but I've found surprisingly few references on

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.