Home > jQuery > jqGrid 4.3.2

jqGrid 4.3.2

April 10th, 2012 Leave a comment Go to comments

Hello,

We are glad to announce that 4.3.2 of jqGrid is released.
This version fixes a lot of bugs and again with this introduced two very important features:

  1. rowattr event, which allow to modify the row attributes during rendering under conditions
  2. New event system which allow to define a jqGrid events outside jqGrid using jQuery bind/unbind. This allow the developers of different jqGrid methods to use all the events in the grid without to care if they already defined in the code.

We hope you will enjoy this version.

The next release will introduce multiple sorting and multiple grouping – i.e group on more than one field

Documentation and examples will be done at end of this week

Sincerely Yours
jqGrid Team

Tags:
  1. Christian
    April 11th, 2012 at 07:13 | #1

    YES, finaly the event system!
    Thank you on that one!!!

    Now, I miss only one last thing, and jqGrid is for me perfect!
    I need the feature to save the hole state of the grid: filters, selected row, sorting and so on, to load it again if I leave the page with the grid and come back.

    Best regards
    Christian

  2. Jair
    April 11th, 2012 at 17:42 | #2

    existe un bug en la grilla y es que cuando aplico el forzenColum y hago doble click sobre algunas de las columnas forzadas genera un error segun Firebug

  3. Mate
    April 11th, 2012 at 19:47 | #3

    Great news! Thanks

  4. April 12th, 2012 at 03:39 | #4

    Thanks for the new release. I downloaded it and tried to see if the import export issue is fixed, but found that this still exists.

    Following is the issue I face, which is working with version jqGrid 3.8.2

    I have been trying to get import and export working using version 4.x (4.2.0).

    var exportedGrid;

    exportedGrid = $(“#grid”).jqGrid(‘jqGridExport’,{exptype:”xmlstring”, root: ‘grid’});

    $(“#grid”).jqGrid(‘GridUnload’);

    $(“#grid”).jqGrid(‘jqGridImport’,{imptype:”xmlstring”, impstring: exportedGrid, xmlGrid: { config: ‘grid’, data: “” }, importComplete: function() {alert(“Imported”);}}).trigger(“reloadGrid”);

    This works fine with version jqGrid 3.8.2. If i do this with jqGrid 4.x versions, the import causes several javascript errors (unterminated string literals etc).

    I use formatter functions for some columns and also have a function reference for the onSelectRow jqgrid property.

    From what I can tell of the xml put into exportedGrid, it seems that it pulls in the whole function referenced by the formatter or onSelectRow properties – and any quotes used within the formatter / selectRow function break the xml / javascript (they are not escaped properly).

    This is also an issue with the jsonstring input / output.

    Can you please try to fix this as well?
    or if it has been fixed can you please explain a small example in the documentation you are preparing for the new release?

    Thanks
    sudha

  5. isaac
    April 12th, 2012 at 04:23 | #5

    in chrome ver.20.0.1096.1 dev-m , jqgrid 4.3 + ‘s css is wrong. ,please check ,thanks.

  6. kevin
    April 12th, 2012 at 18:30 | #6

    Excellent.
    Very glad that the final piece for me – multi sorting and grouping will be here.

    Keep up the great work!

  7. April 13th, 2012 at 22:10 | #7

    I’m very happy for the new version.

    Regards!!!

  8. Marcel
    April 14th, 2012 at 19:34 | #8

    Yes I can confirm the chrome css issues . It seems that I have an extra horizontal scrollbar in chrome beta as of 19.0.1084.24 beta-m

  9. Jin
    April 15th, 2012 at 08:30 | #9

    Can i see the Printing?

  10. adam k
    April 16th, 2012 at 04:08 | #10

    I still don’t see any documentation or examples up on this page http://www.trirand.com/blog/jqgrid/jqgrid.html Do you know when they will be up ??

  11. April 17th, 2012 at 06:26 | #11

    i found a bug in jquery.jqGrid.min.js (4.3.2),which will show a extra line in IE9 or sogou browser(which base on IE .

    the bug is in line 121:”.append(“”).append(this)).addClass(“ui-jqgrid-bdiv”)”,the “” will make a line in table ,please see it and fix it.

    i remove the code “:”.append(“”)”,and is ok
    last comments is change to html

  12. OlegK
    April 17th, 2012 at 10:44 | #12

    @Christian About saving grid state: look at the answer and another answers referenced at the end of the text. One can modify the solution which I suggested before to make it perfect by usage of new events supported by jqGrid now. I plan to provide the corresponding example in the next time.

  13. mcpunjabi
    April 20th, 2012 at 02:59 | #13

    Hi Oleg, is there a way to accomplish column grouping (like row grouping)?

  14. vlad_christian
    April 23rd, 2012 at 17:13 | #14

    Hello, and thanks for the great work.
    Short note about a functional problem: The validation error message on save is done (forgot?!?) with empty string parameters for createModal’s insertSelector, posSelector (see info_dialog function). If I use the grid in a parent object, closing the parent object leaves the error on the screen. I was able to solve this matter, locally using an ugly trick, but is a pity it is not included.
    Note: i am not able to use errorfunc because I work with a local client json array.
    Also I use multiple grids on the same screen.

    What I did is the following, very ugly:

    var extendedCreateModal = $.jgrid.createModal;
    $.jgrid.createModal = function(aIDs, content, p, insertSelector, posSelector, appendsel, css) {
    if(p.left.parentNode) {
    appendsel = false;
    insertSelector = “#gview_” + p.left.parentNode.parentNode.id;
    posSelector = $(insertSelector)[0];
    }
    p.left = 200;
    p.top = 70;
    return extendedCreateModal.apply(this,arguments);
    };

    var extendedfindPos = $.jgrid.findPos;
    $.jgrid.findPos = function(obj) {
    var posTemp = extendedfindPos.apply(this,arguments);
    return [obj,posTemp[1]];
    };

    once again, thanks for the works, and I will donate if I succeed to make some money out of it :)

  15. migi
    April 26th, 2012 at 11:01 | #15

    Hi guys,
    are the examples and docs on new events system out yet? I can’t find it.

  16. April 27th, 2012 at 08:56 | #16

    @adam k
    This is jqGrid Documentation
    and for Demo

  17. April 27th, 2012 at 09:10 | #17

    Can I include file grid.php twice on the same page? I use jquery tab.

    Category
    Unit
    Brand

    Thank you.

  18. alex
    April 28th, 2012 at 04:35 | #18

    why does my jqGrid pager always show “Page 1 of 1″, but indeed I have 3 pages.(records count is correct: “View 1 – 10 of 21″)
    I get json data from server by servlet. data format likes:
    [code]
    {"rowsCount":21,"curPage":1,"totalPages":3,"trade":[{"buyer_nick":"qrh880127","buyer_rate":false,"created":"2012-04-27 10:57:16","tid":143904531094188},{"buyer_nick":"qazqaz","buyer_rate":false,"created":"2012-04-26 11:48:01","tid":143904530826889},{"buyer_nick":"qazqaz","buyer_rate":false,"created":"2012-04-26 11:45:05","tid":143904530806889},{"buyer_nick":"zmj925","buyer_rate":false,"created":"2012-04-19 13:54:33","tid":143904583036325},{"buyer_nick":"blueskyjerry","buyer_rate":false,"created":"2012-04-18 13:31:42","tid":143904581905593},{"buyer_nick":"blueskyjerry","buyer_rate":false,"created":"2012-04-11 10:58:28","tid":143905160395593},{"buyer_nick":"blacksource","buyer_rate":false,"created":"2012-04-11 10:16:14","tid":143905160387047},{"buyer_nick":"wangfei","buyer_rate":false,"created":"2012-04-11 09:49:38","tid":143905160156240},{"buyer_nick":"wangfei","buyer_rate":false,"created":"2012-04-11 09:43:43","tid":143905160146240},{"buyer_nick":"wangfei","buyer_rate":false,"created":"2012-04-10 21:44:24","tid":143904498796240}]}
    [\code]
    and jgridreader is setted:
    [code]
    jsonReader : {
    root:"trade",
    id:"tid",
    repeatitems:false,
    records:"rowsCount",
    currpage:"curPage",
    totalpages:"totalPages"
    },
    [\code]

    pls tell me which mistake I make?(I use jGrid 4.3.2)

  19. Rajeev
    April 29th, 2012 at 10:31 | #19

    I see the documentation is available with PHP. How can i use this with PERL? is it usable with PERL just as with PHP?

    pl. advice.

    ty.
    Rajeev

  20. Chuck
    May 2nd, 2012 at 16:02 | #20

    setCell / non-editable-cell does nothing. The cell is still editable. There is a slight missing part of the “if” statement in editRow.

    8913: if ( nm != ‘cb’ && nm != ‘subgrid’ && nm != ‘rn'{

    SHOULD BE:

    8913: if ( nm != ‘cb’ && nm != ‘subgrid’ && nm != ‘rn’ && !$(this).hasClass(“not-editable-cell”)) {

  21. Jack B.
    May 14th, 2012 at 20:57 | #21

    Where are the demos that are mentioned in the post?

  22. Snobo
    May 16th, 2012 at 12:59 | #22

    Hey, “Documentation and examples will be done at end of this week” – more than one month has passed and still no sign of documentation update? Also http://trirand.com/blog/jqgrid/jqgrid.html doesn’t look updated since 3.7 – is it abandoned?

  23. Vijyeta
    May 16th, 2012 at 14:46 | #23

    Hi,

    I am using jqgrid 4.3.2 to do inline add but I am facing some problem. the grid works fine when i add first row. but as i add second row to it, it throw JS error:

    Message: ‘k[...].name’ is null or not an object
    Line: 381
    Char: 412

    Can somebody please help me with this. I did some analysis and found that this occurs with IE7 only and works perfect with IE8, FireFox.
    I am in urgent need for this to be fixed.
    It would be great if anyone can help me with a fix.
    Thanks in advance.

  24. Lanhuageng
    May 22nd, 2012 at 05:36 | #24

    Where is download?

  25. jm44122
    May 22nd, 2012 at 17:12 | #25

    I am having the same problem as Vijyeta. Please advise how to resolve.

  26. doublefint
    May 24th, 2012 at 20:46 | #26

    //Using new event system example:
    $(grid).bind(“jqGridSelectRow.yourEventNamespace”,function(rowid){
    alert(rowid)}
    );

    // where SelectRow – part of jqGrid event name
    // gridComplete – ‘jqGridGridComplete’
    // ondblClickRow – ‘jqGridDblClickRow’
    // etc

    $( grid ).unbind(“.yourEventNamespace”,function(rowid){alert(rowid)});

  27. mahendra
    May 27th, 2012 at 21:11 | #27

    Thank you Very much for your great work!!

  28. May 28th, 2012 at 07:30 | #28

    I am using JqGrid for all of my PHP projects, its easy to create and very useful.. Thanks for this great work!

    Regards,
    Hary

  29. Rodrigo
    May 28th, 2012 at 15:20 | #29

    have bug in chrome… horizontal bar =/

  30. May 29th, 2012 at 04:48 | #30

    Thank you very much for your great work!!

  31. mousumi
    June 16th, 2012 at 09:05 | #31

    appendPostData() does it work in jqgrid4.3.2?

  32. Arul
    August 10th, 2012 at 10:53 | #32

    I have to add multiple row using add new row (+) without saving the information to data base but when we will click the Save All link, the information needs to save in data base which is newly added by multi row add function. Please can you guide me how we can do it or anyone did the same futurs please share with me. it will be helpful for me to achive it.

    I am in urgent need for this to be fixed.
    It would be great if anyone can help me with a fix.
    Thanks in advance.

  33. seePar
    April 3rd, 2013 at 11:03 | #33

    How can i achieve insert new row in between 2 rows

  1. No trackbacks yet.

Anti-spam: complete the taskWordPress CAPTCHA


Privacy Policy   Terms and Conditions   Contact Information