JV

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: jqGrid loadonce problem #95075
    JV
    Participant

    I'm not sure anyone is watching this thread anymore,

    But when I made these changes when I click on the “Next” button I get an error stating:

    J.toUpperCase is not a function

    jquery.jqGrid.min.js

    Line 19

    complete :function (…){

    …..

    $(“#mygrid”).setGridParam({datatype:'local'});

    }

    in reply to: ASP.NET WebService – How to load grid from… #95074
    JV
    Participant

    jQuery(document).ready(function () {

    jQuery(“#list”).jqGrid({

    datatype: processrequest,

    mtype: 'POST',

    jsonReader: {

    root: “rows”, //arry containing actual data

    page: “page”, //current page

    total: “total”, //total pages for the query

    records: “records”, //total number of records

    repeatitems: false,

    id: “ID” //index of the column with the PK in it

    },

    colNames: ['Name', 'Title'],

    colModel: [

    { name: 'name', index: 'name', width: 250 },

    { name: 'title', index: 'title', width: 250 }

    ],

    pager: '#pager',

    rowNum: 10,

    rowList: [10, 20, 30],

    sortorder: “desc”,

    viewrecords: true,

    height: '250px',

    caption: 'My first grid'

    }).navGrid('#pager', {edit: false, add: false, del: false});

    });

    in reply to: ASP.NET WebService – How to load grid from… #95065
    JV
    Participant

    I actually got it to work…

    My scenario was very simple as I wanted to see how it worked in the easiest form before I ramped it up into something more complicated.

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!