Solutions

December 6th, 2009 Leave a comment Go to comments

Based on our experience we have created a set of components which dramatically decrease the development time of web applications using jqGrid.
For more information visit us at: trirand.net




















Ads by Lake Quincy Media

  1. Abhishek
    February 10th, 2010 at 01:37 | #1

    I a using the jqgrid plugin and am getting an error message while rendering it on IE.The grid works fine in FF.The error that i am getting is in IE8 it says “Object Expected” where as in IE7 the error is “Unexpected call to method or property access”.When i am using Developer tool in IE8 to get to the line where the proble exists the developer tool gives a message that code of line cannot be reached.I am helpless .Please help me its urgent.

  2. March 8th, 2010 at 16:19 | #2

    Can you give more information? At the least, you could trace output see see how far your code is getting.

  3. March 13th, 2010 at 16:38 | #3

    Thanks for the quick reply.I am new to web development.How can i trace the output?Is there any tool for IE to do the same?I tried putting alerts in the add/edits of jquery methods of beforeInitData.I got my alert and after that i get this error message.Also i had put another one in onInitializeForm i did not get the alert.Please tell me how to solve the problem.thanks a lot in advance.

  4. JOHN
    March 17th, 2010 at 15:02 | #4

    How to implement Data autoloading when scrolling with out using dll,

  5. Roz
    May 4th, 2010 at 12:30 | #5

    I wounder how to get rows value as url by contextmenu or rightclick using javascript in a grid

  6. Roz
    May 4th, 2010 at 12:32 | #6

    this is my project:

    jQuery(document).ready(function () {
    jQuery(“#list”).jqGrid({
    url: ‘../../Home/Example/123′,
    datatype: ‘json’,
    myType: ‘GET’,
    colNames: ['Id', 'Name', 'Description'],
    colModel: [
    { name: 'id', index: 'id', width: 55, resizable: true },
    { name: 'name', index: 'name', width: 90, resizable: true },
    { name: 'description', index: 'description', width: 120, resizable: true}],
    pager: $(‘#pager’),
    rowNum: 10,
    rowList: [10, 20, 30],
    sortname: ‘id’,
    sortorder: ‘desc’,
    viewrecords: true,
    multiselect: true,
    multikey: “ctrlKey”,
    imgpath: ‘../Scripts/themes/redmond/images’,
    caption: ‘My first grid’
    });
    //this is what i was trying to do to get row value
    $(“#mycontextmenu”).val( ‘|id: ‘ + menu_id + ‘|name: ‘ + menu_name + ‘|description: ‘ + menu_description );
    $(“#list”).contextMenu(“#mycontextmenu”)
    });

    //HomeController
    public ActionResult example(int id, string sidx, string sord, int page, int rows)
    {
    var result = new
    {
    total = 1,
    page = page,
    records = 3,
    rows = new[]
    {
    new{id = 11, cell = new[]{“11″,”Blue”,”I’ll be blue if this doesnt work”}},
    new{id = 12, cell = new[]{“12″,”Blue”,”I’ll be blue if this doesnt work”}},
    new{id = 13, cell = new[]{“13″,”Blue”,”I’ll be blue if this doesnt work”}}
    }
    };
    return Json(result, JsonRequestBehavior.AllowGet);
    }

    //master site

    <script type="text/javascript" src="”>
    <script type="text/javascript" src="”>
    <%–<script type="text/javascript" src="”>
    <script type="text/javascript" src="”>–%>
    <%–<script type="text/javascript" src="”>–%>

    <%—-%>

  7. roz
    May 10th, 2010 at 12:40 | #7

    Can you please help me with my question, I wounder how to get rows value as url by contextmenu or rightclick using javascript in a grid,
    this is my project:
    jQuery(document).ready(function () {
    jQuery(”#list”).jqGrid({
    url: ‘../../Home/Example/123′,
    datatype: ‘json’,
    myType: ‘GET’,
    colNames: ['Id', 'Name', 'Description'],
    colModel: [
    { name: 'id', index: 'id', width: 55, resizable: true },
    { name: 'name', index: 'name', width: 90, resizable: true },
    { name: 'description', index: 'description', width: 120, resizable: true}],
    pager: $(’#pager’),
    rowNum: 10,
    rowList: [10, 20, 30],
    sortname: ‘id’,
    sortorder: ‘desc’,
    viewrecords: true,
    multiselect: true,
    multikey: “ctrlKey”,
    imgpath: ‘../Scripts/themes/redmond/images’,
    caption: ‘My first grid’
    });
    //this is what i was trying to do to get row value
    $(”#mycontextmenu”).val( ‘|id: ‘ + menu_id + ‘|name: ‘ + menu_name + ‘|description: ‘ + menu_description );
    $(”#list”).contextMenu(”#mycontextmenu”)
    });
    //HomeController
    public ActionResult example(int id, string sidx, string sord, int page, int rows)
    {
    var result = new
    {
    total = 1,
    page = page,
    records = 3,
    rows = new[]
    {
    new{id = 11, cell = new[]{”11″,”Blue”,”I’ll be blue if this doesnt work”}},
    new{id = 12, cell = new[]{”12″,”Blue”,”I’ll be blue if this doesnt work”}},
    new{id = 13, cell = new[]{”13″,”Blue”,”I’ll be blue if this doesnt work”}}
    }
    };
    return Json(result, JsonRequestBehavior.AllowGet);
    }
    //master site

    <%–
    –%>
    <%––%>

  8. May 24th, 2010 at 09:23 | #8

    http://code.google.com/p/struts2-jquery/wiki/GridTag, see the Web site when I tried to create a sample page, a unique phenomenon occurs. struts2 + jqgrid Is a Tomcat Project will be impossible? If you try to request as a file is downloaded.

  9. Martin
    May 24th, 2010 at 16:38 | #9

    I have a question, Can JqGrid be front page and sort ?

  10. David
    May 27th, 2010 at 11:21 | #10

    I using the jqgrid on IE7, I get an error .It says “Unexpected call to method or property access”. but on ff it work well. Please help me its urgent. thanks.

  11. May 27th, 2010 at 18:53 | #11

    {“page”:1,”total”:8,”records”:”77″,”rows”:[{"id":"3984106","cell":["3984106","ALBERTO","ARIZA PACHECO"]},{“id”:”27958294″,”cell”:["27958294","ALIX","MANCILLA AVILA"]},{“id”:”5562663″,”cell”:["5562663","ALONSO","JEREZ GUTIERREZ"]},{“id”:”63542928″,”cell”:["63542928","ANA MILENA","BOHORQUEZ"]},{“id”:”88249453″,”cell”:["88249453","ANDUER ALEXIS","PEREZ MOGOLLON"]},{“id”:”5543551″,”cell”:["5543551","ANIBAL","NAVAS DELGADO"]},{“id”:”5741991″,”cell”:["5741991","AQUILO","HERNANDEZ ALMEIDA"]},{“id”:”91068112″,”cell”:["91068112","ARMANDO","MONSALVE PINTO"]},{“id”:”804012392″,”cell”:["804012392","C.I ALJAHER","LTDA"]},{“id”:”91213464″,”cell”:["91213464","CARLOS ","TGOMEZ CAMACHO"]}]}

  12. Gopi
    July 11th, 2010 at 22:20 | #12

    hi,
    i am new to jqgrid,
    please can any one provide tutorials on jqgrid with jsp?

  13. vijai
    July 12th, 2010 at 06:01 | #13

    Hi all,

    In JQGRID top Toolbar, want to add the check boxes. these checkboxes are display from static array.. its used for search.. help me..

    i did,

    toolbar: [true,"top"];

    thanks,
    vijay.

  14. sekhar
    July 22nd, 2010 at 08:18 | #14

    When I download jqgrid 3.7.2 I haven’t got the themes and images folder

  15. sekhar
    July 22nd, 2010 at 09:09 | #15

    Where can I get the themes and images og jqgrid 3.7.2

  16. August 25th, 2010 at 19:05 | #16

    Does jqgrid support having multiple column data in one column? e.g Having Name & email in the same column to save space

  17. phlegx
    September 2nd, 2010 at 01:29 | #17

    jQuery Version: 1.4.2
    Used plugin: – jqGrid 3.7.2.

    Problem: If I click on the “reload grid” button the ajax request becomes the status “Aborted”. Firebug shows me the error line 5252 in jquery.js.

    Funny thing: – The Firefox 3.6.8 on my Linux machine (with the local web server running) don’t has this behavior if I click the “reload grid” button. It runs all fine. – The Firefox 3.6.8 on my Windows machine (connected over ethernet with the linux machine) has this problem by click the button! The ajax request starts but finishes with an “Abort”.

    My test:
    - Remove only the line 5217 “xhr.abort();” in jquery.js

    This “solves” the problem:
    - On the Windows machine the problem disappears!

    This is only a temporary solution for me.

    How is that possible? Same web server, same script, same ajax request. Only different OSs!

Privacy Policy   Terms and Conditions   Contact Information