erich93063

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • in reply to: Help with jsonmap in colModel (I think) #100080
    erich93063
    Participant

    OK Still have a problem. I am now using:

    colModel :[

    {name:'orderID',index:'o.orderID', sorttype:'int', title:false, jsonmap:0},

    {name:'jobTitle',index:'o.WebJobTitle', sorttype:'string', title:false, jsonmap:1},

    {name:'jobType',index:'o.webJobType', sorttype:'string', title:false, jsonmap:2},

    {name:'jobStatus',index:'o.webJobStatus', sorttype:'string', title:false, jsonmap:3},

    {name:'updatedOn',index:'o.UpdateDate', sorttype:'date', title:false, jsonmap:8}

    ]

    But my first item (Order ID) is not displaying for some reason. Is jsonmap:0 not correct

    in reply to: Help with jsonmap in colModel (I think) #100079
    erich93063
    Participant

    Sorry just figured it out. I need to add

    in reply to: pager div not movable from bottom… #90063
    erich93063
    Participant

    So wait does this mean that you cannot have the pager display above the grid? I know you can put the pager code above the grid in the actual code, but it still displays at the bottom of the grid. Cant we make it so if we put the pager div above the grid code the pager displays above the grid and if we put it below the grid code, it displays below it? THANKS

    in reply to: Pager not displaying pages and totals #89931
    erich93063
    Participant

    Ok well I got it to work with the following code. What I needed to do was to get rid of:

    recordtext:'Total Records',
    pgtext:'of',

    in reply to: Pager not displaying pages and totals #89929
    erich93063
    Participant

    I also just tried switchin it to XML and I'm getting the same thing. No page counts and no totals.

    Code:

    in reply to: Pager not displaying pages and totals #89925
    erich93063
    Participant

    HMM Still not working. Here is what im using right now. Is my JSON not correct or something? Like I said, the grid loads and sorts and paginates. It's just missing the page counts and total. So frustrating. I'm so close.:

    in reply to: Pager not displaying pages and totals #89863
    erich93063
    Participant

    HMM I looked at the wiki and I'm doing exactly what it says to do. I would think just using

    pager: $('#pager'),

    should work and use the defaults for the pager. I did for what its worth try:

    pager: $('#pager'),
    recordtext: "View {0} - {1} of {2}",
    emptyrecords: "No records to view",
    pgtext : "Page {0} of {1}",

    but that didnt work either. The pager works as far as clicking ont the prev/next buttons and it actually paging, it's just missing the page counts and the total on the pager. They are blank, even though those values are being passed in the JSON. Maybe my JSOn is incorrect?

    {"ROWS":609264,"Duncan","Cottrell","duncancottrell@yahoo.com"],[609265,"Colletta","Brabham-orr","collettaorr@hotmail.com"],[609266,"Aaron","Bryan","AaBryan@Gmail.com"],[609267,"Millicent","Williams","millicentwllms@yahoo.com"],[609268,"Liang","Chen","lchen@tulane.edu"],[609269,"Sylvia","Marquez","bushqui@fastmail.com"],[609270,"Minu","Sinha","minu.varan@gmail.com"],[609271,"Tejas","Kadakia","rajk234@hotmail.com"],[609272,"Elisa","Person","elisaperson@sbcglobal.net"],[609273,"Mustafa","Yaman","mustafayaman1977@yahoo.com","PAGE":1.0,"TOTAL":400.0,"RECORDS":4000}

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

Stay connected with us in your favorite flavor!