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

  • Home
  • SEARCH
  • 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 6538505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:44:37+00:00 2026-05-25T10:44:37+00:00

When I am calling getrowdata() I am getting this error $t.p.colModel[i] is undefined in

  • 0

When I am calling getrowdata() I am getting this error $t.p.colModel[i] is undefined in grid.base.js

jQuery(jqgrid).jqGrid({
            url: url,
            datatype: 'json',
            mtype: 'GET',
            colNames: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'],
            colModel: [{ name: 'A', index: 'A', width: 50, align: 'right', sortable: true, resizable: false },
            { name: 'B', index: 'B', width: 50, align: 'right', sortable: true, sorttype: 'int', title: false, resizable: false },
            { name: 'C', index: 'C', width: 50, align: 'right', sortable: true, sorttype: 'int', resizable: false },
            { name: 'D', index: 'D', width: 40, align: 'right', sortable: true, sorttype: 'int', title: false, resizable: false },
            { name: 'E', index: 'E', width: 75, align: 'right', sortable: true, sorttype: 'float', resizable: false },
            { name: 'F', index: 'F', width: 75, sortable: true, datefmt: ' M  d, y H:i:s', resizable: false },
            { name: 'G', index: 'G', width: 75, sortable: true, datefmt: ' M  d, y H:i:s', resizable: false },
            { name: 'H', index: 'H', width: 500, sortable: true, sorttype: 'text', resizable: false },
            { name: 'I', index: 'I', width: 300, sortable: true, sorttype: 'text', resizable: false}],
 jsonReader: {
                root: "A",
                page: "page",
                total: "total",
                records: "records",
                repeatitems: false
            }
});

jsondata format is

{ "total":"4",
    "page":"1",
    "records":"35",
    "A":[{
            "A":"01.000",
            "B":"01.000",
            "C":"01.000",
            "D":"1",
            "E":"1.075",
            "F":" 19:17:09",
            "G":" 11 19:17:09",
            "H":"dfsd",
            "I":""}]} 

getting error : $t.p.colModel[i] is undefined in grid.base.js(line 2470)

  • 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-25T10:44:38+00:00Added an answer on May 25, 2026 at 10:44 am

    First, your JSON data should start with “{” ("{"total":"4",...").
    Second, because you use “A” property as the array name of the rows ("A":[) you should use the following jsonReader:

    jsonReader: {
        root: "A",
        repeatitems: false
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Calling this powershell command and getting an error. Driving me nuts. Prompt> get-childitem -recurse
Calling Index view is giving me this very very annoying error . Can anybody
Calling index.php?pConta=1&pDataInicial=01-01-2000&pDataFinal=31-12-2000 I get this notices: [08-Oct-2009 17:30:35] PHP Notice: Undefined index: pConta in
Calling : $.ajax({ type: POST, url: 'http://blahblah/cow.php', contentType: application/json, data: { 'guid': '111', 'score':
Calling the ajax called URL works well without ajax eg. http://localhost/ci/controller/method/param_value . But using
Hopefully this is a quick one! I have an editable grid using 'clientSide' (local)
Calling all cross-compatibility experts! Please check out this page on my site, as it
When calling an undefined element of an array, it is showing me a value
Calling this method: public static @Nonnull <TV, TG extends TV> Maybe<TV> something(final @Nonnull TG
Calling system() to run an external .exe and checking error code upon errors: #include

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.