Home > jQuery > jQuery Grid 1.1 beta

jQuery Grid 1.1 beta

June 30th, 2007

I have updated the jqGrid to 1.1beta.
This version fixes a bug posted from Luca and add another feature – SubGrid.
Since I’m very busy with a project, I do not have time at the moment to describe all the new features (sorry). I hope that this will be done after some days.
The good news is that the grid is tested on IE6/7, FF1.05/2.0.0.x, Konqueror 3.5.6.
Only on Opera I have problems described from Luca.
Any comment and suggestion will welcome.

  1. July 8th, 2007 at 08:18 | #1


    thanks for the great work on the jqgrid

    just wondering if you can post a full downloadable example (html,php,sql,etc..)

    i know you can get bits and pieces from this site – but 1 download thats known to work etc would be very much appreciated



  2. Tony
    July 11th, 2007 at 09:39 | #2

    Hi Justin,

    You are right. Since I will post after some day other jQuery plugins, I will try to complete a full example pack.

    Best regards

  3. Damian
    July 28th, 2007 at 12:39 | #3


    Great plugin.

    I`d like to use it without sql, only with page with data that will be imported. I spent few hours and did nothing :/ So far i have this: http://sharq.freehost.pl/grid/

    I have no idea what should i do..


  4. Tony
    July 30th, 2007 at 10:21 | #4

    Hi Damian,

    As I can see, you use a raw xml data. That is the reason that you can not get the data, since the grid use a $.get jQuery function to obtain it. To solve the problem we have 2 ways.

    1. If you use a server side language like PHP, Pyton or Perl you should put a header function, before the data (before xml tag). In PHP this is:
    header(“Content-type: text/xml”);

    2. You should change the code to use $.ajax instead of $.get (function populate)

    If you have a problem with a second method please let me known, I will help you.


  5. Marco Antonio
    July 31st, 2007 at 04:15 | #5

    Hi Tony. Congratulations. Very cool plugin. I’m using it in a ColdFusion application and works very well. But I’ll want to improve performance because your plugin “eat” xml and xml parse in CF(and very other web languages) is resource consuming. It is possible to “convert” xml responde to json? What do you think about?

  6. Tony
    July 31st, 2007 at 13:55 | #6


    JSON is the next step, I have idea haw to do, but have a problem with a data structure – i.e in which way shoud be JSON represented. If you have ideas please let me know. To be a honest I never use a JSON.


  7. Damian
    August 1st, 2007 at 00:13 | #7

    Thanks Tony, but i`m newbie about js and i have problem with both ways you have told me :/ I`m using xml, becouse i found somewhere that it could help, but truth is, that i have no idea what`s that for.. It would be nice to have step by step instruction.. That may be stupid for most of you, but some people might need it too..
    Sorry for beeing annoying 😉

  8. Marco Antonio
    August 1st, 2007 at 00:29 | #8

    Thanks Tony. JSON is a very good option because the returned data structure is smaller than that xml structure. I’ll be touching your code to test json packet.

  9. Damian
    August 4th, 2007 at 12:57 | #9


    I was trying the ajax method but its too hard for me.
    php method looks better, i`ve put before xml tag and changed dyndata1 filetype to php but nothing happens. Still same ‘Loading…’ text appears at my own server. Additionaly http://sharq.freehost.pl/grid/ shows error. Whats wrong..?


  10. Damian
    August 4th, 2007 at 13:04 | #10

    for moderation:
    …i`ve put ?php header(???Content-type: text/xml???); ? before xml tag…

  11. Tony
    August 4th, 2007 at 13:53 | #11

    Hi Damian,

    Right now I will perform some tests with a raw xml.

  12. Tony
    August 4th, 2007 at 15:44 | #12

    I got the problem 🙂
    v.2.0 of the grid should work with raw xml.
    The problem is in $.get and $.ajax
    $.get return data on success callback. And if you call $.ajax this way the grid does not work.
    The working version uses on complete callback and as parameter not xml, but xml.responseXML


  13. Damian
    August 5th, 2007 at 19:31 | #13


    So how should it look like?
    {?php header(“Content-type: text/xml”); ?}
    {?xml version=’1.0′ encoding=’windows-1251′ ?}
    {?php header(“Content-type: text/xml”); ?}
    {?php echo ‘{?xml version=’1.0′ encoding=’windows-1251′?}’; ?}
    or shuold i change smthg else? maybe you would like to show some example of working jqgrid without any sql? that would be much easier 😉
    { and } was for tags or how it`s named, becouse submit script ignores it 😛

  14. Tony
    August 5th, 2007 at 21:45 | #14


    You can download the version 2 of the grid, which resolves the problem with reading a xml file not generated from the server language.

    You can go in to the Example page and download a working example. In this example you can read what you can do.

    A good choice will be if you go in to Documentation page and read the syntax of the xml and what to put in the header if you use php.


Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information