Home > jQuery > jqGrid 3.5 beta

jqGrid 3.5 beta

May 24th, 2009

I’m very happy to publish jqGrid 3.5 beta version on this day.
The cahnges are so many so that I will not publish them here. If you download the release you will find a Changes.txt file.

Three very important things are happen with 3.5 beta
1. jQuery UI Theme integration.
2. New rendering engine, which improves the loading speed in some cases up to 10 time faster as of previous releases.
3. At end I have made a decision to remove the loader. From this release I introduce a new download manager which simplicity the procedure of settings the grid to work. Here you can choose what to download. All the files are splited in one file.

As usual the last development source code can be obtained from GitHub.

Do not forget to check the new things here

Enjoy!

Tags:
  1. May 24th, 2009 at 20:58 | #1

    Thanks so much for your work, I was testing out the alfa 3 of 3.5 and I was able to get my pager to work fine. When I checked out the source from github and tried that my grid still displayed fine but my pager did not show up. I did add the navGrid(‘…. stuff at the end of the jqGrid call and that gave me the search and refresh functions, but still now pager, if I switch back to the 3.5 alfa 3 then the pager works, any recommendations?

  2. May 24th, 2009 at 21:03 | #2

    @Josh M
    My bad, I updated to the latest source, and it works now…thanks again.

  3. Frederico
    May 24th, 2009 at 21:43 | #3

    Looking great! Cant wait to try it out

  4. prbabu
    May 25th, 2009 at 02:09 | #4

    Thanks for your effort, Tony. Downloading and checking the same….

    -Praveen

  5. prbabu
    May 25th, 2009 at 04:35 | #5

    I am trying to use the below method from 3.5.beta release:

    jQuery(”#mygrid”).updateColumns();

    I get a message saying that the updateColumns() method is undefined. This is happening in IE 7.0 and I am using the
    latest source code from GitHub.
    Appreciate your response on this Tony.

  6. tony
    May 25th, 2009 at 08:00 | #6

    @prbabu,
    This is most coused of the cache. Please clear all your cache and restart the browser. This method is available and works for me. Also it is used in the base code.
    Regards

  7. boypula
    May 25th, 2009 at 08:42 | #7

    Thanks for the release.

    Found a small bug in the demo site.

    When multiselect is true, selecting the row no longer ticks the checkboxes.

  8. Praveen
    May 25th, 2009 at 09:14 | #8

    Thanks for your response Tony. I tried in FireFox to make sure it is not an IE issue and the result is the same in FireFox’s Error Console:

    Error: jQuery(“#list”).updateColumns is not a function

    Did as you said, deleted the entire cache, internet temp. files etc.. closed browser and opened. The result is the same.

    -Praveen

  9. prbabu
    May 25th, 2009 at 09:20 | #9

    @Tony, also would like to point out that when you go into “Form Improvements” example under “New in version 3.5” and not select a row and then click the edit icon in the pager, one gets a empty “Warning” dialog box. This is happening in IE 7.0 only.

    -Praveen

  10. prbabu
    May 25th, 2009 at 10:04 | #10

    @Tony, clearing cache and restart browser did not help. Tried both in FireFox and IE 7.0

    -Praveen

  11. tony
    May 25th, 2009 at 12:01 | #11

    @boypula,
    Thanks it is a bug releated to the new rendering engine when we use JSON. Also fixed. You can obtain the code from GitHub.

    @Praveen
    Humm, could you please try this way:
    var mygrid= jQuery(“#list”)[0];
    mygrid.updateColumns();

  12. miguelchico
    May 25th, 2009 at 13:51 | #12

    Hi Tony,

    Great work!!!

    About remove the loader. Do you know jQuery lazy plugin??? (http://www.unwrongest.com/projects/lazy/)

  13. sbabbaro
    May 25th, 2009 at 15:57 | #13

    Hi Tony, thank for good job.

    In my application I use load data by json, but only after other event. So I set first time datatype = ‘clientSide’ and after I set to datatype = ‘json’ by setGridParam method, and fire trigger reloadGrid.
    With jqGrid 3.4.X it works well, with 3.5B nothing happen. By firebug on trigger there is not call to remote page for load data.
    I use last release by git

  14. tony
    May 25th, 2009 at 16:37 | #14

    @sbabbaro
    Thanks. Found the bug.
    @Praveen (IE7 warning message)
    Found the bug

    All of these are corrected in the GitHub. Tommorow you can download the new build from the site – Download section.
    Thanks
    Best Regards
    Tony

  15. tony
    May 25th, 2009 at 16:41 | #15

    @sbabbaro,
    Thanks fond the bug. Fixed.
    @Praveen (IE7 warning message)
    Thanks fixed.

    All the fixes are in GitHub.
    You can download the next build from the site tomorrow.
    Thanks
    Best Regards
    Tony

  16. sbabbaro
    May 25th, 2009 at 16:55 | #16

    @tony
    it’s all OK…

  17. ulver
    May 25th, 2009 at 20:09 | #17

    Hello!
    can somebody tell me…if the search on navgrid at the version 3.4.3 is working well ?

  18. iam
    May 26th, 2009 at 01:46 | #18

    Hi,

    Thanks for such a wonderful JQuery Grid. I today selected it after comparing many others.

    I just played with the new version. [it is my first try in any of my project, so i just started with 3.5 beta].

    I am able to make it work for displaying data from MySQL database with JASON/PHP.

    I am having problem with search, when i click on search icon, all area for jqGrid is blocked [not clickable anymore].

    I tried to make it work in FF and IE, same problem, little help with be appreciated.
    My JQuery is latest versions (1.3.2).
    Kind Regads,
    IAM

  19. prbabu
    May 26th, 2009 at 02:13 | #19

    Hi ulver,
    Just my thought, would you be able to move to the latest release and test the same?! Not sure on your constraints, but makes Tony’s life easier in maintaining and enhancing stuff from 3.5… I was in 3.4 release and moved yesterday to 3.5 beta – works great and wonderful! Lots of performance improvements and new functionalities.

    Regards,
    Praveen

  20. prbabu
    May 26th, 2009 at 02:30 | #20

    Amazing @Tony! The below works!!!
    var mygrid= jQuery(”#list”)[0];
    mygrid.updateColumns();
    Is this the way to use it, or this will be fixed at the code level?!
    I believe this issue is related to the bug we are tracing in the Forum:
    http://www.trirand.com/blog/?page_id=18/bugs/drag-and-drop-shifts-grid-columns-alignment/page-1&value=sf%25members%251%25user1269&search=1&ret=all

    Regarding the IE7 warning message, it is fixed, great! Thanks!

    Regards,
    Praveen

  21. sOverture
    May 26th, 2009 at 02:45 | #21

    I had intergrated the beta version ( I earlier had alpha version)
    a couple of things I noticed that

    I get a error in firebug on grid.base.js ( line 684) I guess line number does not matter but I never used to get this error in alpha version & also I am using MultiSelect with Form Edit I have closeAfterEdit:true but when I close the processData: Processing …just does not go( it get stuck) from the grid..It used to work fine in alpha.

    Please let me know if there if I need to do anything??

  22. May 26th, 2009 at 06:23 | #22

    @iam
    I’m having this same problem, not sure if it is a setup issue, a bug, or perhaps a modal/jquery ui compatibility issue???

  23. tony
    May 26th, 2009 at 06:30 | #23

    Hello All,
    A 3.5 beta build 2 is available. You can obtain the code. Also a lot of important bugs are fixed.

    @iam
    Be a sure that you have the right CSS file. There are a lot of changes here. The css file is from css die and not from src/css – there are some diffrences.

    @sOverture
    As of 3.5 beta you should maybe use jquery.jqGrid.min.js when you download the package.

  24. Cas
    May 26th, 2009 at 07:48 | #24

    i’ve upgrade to the 2.5 Beta yesterday. all looks good, including some stuff i couldn’t get working on the previous version. just one (stupid) question: if id like to change the styling for the grid TH, TD, selected rows, highlighted rows, etc., in which css file (and which css elements) do i need to apply the changes?

  25. Cas
    May 26th, 2009 at 07:59 | #25

    my previous message should indicate “3.5 Beta”, not “2.5 Beta” 🙂

  26. Jagadeesan Balakrishnan
    May 26th, 2009 at 14:16 | #26

    Thanks for such a product 🙂

    We would like to have some fields NOT to appear in the viewing page but in the popup, is that possible? For example, password is a field that I need to show in the popup screen but not in the users overview!

    Note: I see that customized version of popup could be used. If what I required could be achieved without using popup, that would be of great help.

    Nevertheless, thanks again for such a plug-in. Open Source rules.

  27. jaggybala
    May 26th, 2009 at 14:18 | #27

    >> Note: I see that customized version of popup could be used. If what I required could be achieved without using popup, that would be of great help.

    should be:

    Note: I see that customized version of popup could be used. If what I required could be achieved without using customized version, that would be of great help.

  28. soverture
    May 26th, 2009 at 15:30 | #28

    hello tony,

    I did as suggested but I still get errors with firebug( on line 7 ) & processData: Processing …just does not go( it get stuck) from the grid..Only when I do manually page refresh it goes . I have ..

    closeAfterEdit:true,reloadAfterSubmit:false
    afterSubmit:function reloadGrid(){ jQuery(“#incomelist”).trigger(“reloadGrid”);
    return true;
    }

    I appreciate all your input..

    Thanks!!

  29. Cas
    May 26th, 2009 at 18:21 | #29

    Hi Tony,

    I have created a customized CSS with jQuery UI. But for some reason my jqGrid does not seem to use this CSS. I have added both CSS files in the header of my page, and have followed all the instructions in the cahnges.txt file. Any ideas?

    Thanks for this great plug-in!

    C

  30. Cas
    May 26th, 2009 at 21:40 | #30

    Hi Tony,

    Not too worry, I have sorted out my issues with the CSS.

    Thanx

  31. prbabu
    May 27th, 2009 at 09:03 | #31

    @Tony,
    Can you confirm that the “updateColumns()” issue is fixed in the recent 3.5 beta build 2?

    -Praveen

  32. tony
    May 27th, 2009 at 09:43 | #32

    Hello All,
    I have published a build 3 of jqGrid. Two very important bugs are fixed. Also I recommend you to upgrade to this build. Also there are new things in this release. You can find these in Changes.txt file.

    @Cas
    You can change the styling of jqGrid when you open ui.jqgrid.css file. In theis file you will find coments where this can be changed.

    @Praveen,
    The update columns should be used as in my post here. I will update the documentation.

    @soverture
    Already answered in the forum. You have error returning the right parameters in afterSubmit event

    Best Regards
    Tony

  33. Jagadeesan Balakrishnan
    May 27th, 2009 at 11:01 | #33

    Tony,

    I found the solution, typically the hidden:true in the and edithidden: true works as expected. Thanks.

    Jagadeesan Balakrishnan

  34. May 27th, 2009 at 14:29 | #34

    Hello Tony!

    Thanks for this great module!!!

    I have one problem, i can not localize, when i load grid.locale-ru.js and click on search button, i see in drop menu english words, i look into grid.locale-ru.js and change it in russian because new titles did not translate.

    But, when i reload page, i saw again english words, i look into jquery.jqGrid.min.js and find lines from jquery.searchFilter.js:

    groupOps:[{op:”AND”,text:”all”},{op:”OR”,text:”any”}]

    which replace lines from grid.locale-ru.js … but other lines from jquery.searchFilter.js not replace lines from grid.locale-ru.js…

    Best regards, Black

  35. May 27th, 2009 at 15:18 | #35

    Where i can find search_adv.php?

  36. Toran Billups
    May 27th, 2009 at 15:35 | #36

    I’ve tweaked the click event of the subGrid to insert my own html, but noticed that any checkbox input inside this TR won’t click. (some hidden return false might be the root cause) Would you know where I could find this to alter the client side code? This same issue was showing up in the previous release.

  37. soverture
    May 27th, 2009 at 22:35 | #37

    hello tony,

    thanks for ur promt reply. after changing afterSubmit to return array it partially solved the problem . The processData: Loading… still gets stuck on the screen.

    I am using json to load the grid with struts 2.

    I have var grid=jQuery(“#incomelist”).jqGrid({.. });

    grid[0].addJSONData(eval(“(” + $(“#incomesData”).attr(‘value’) + “)”));

    The add, edit & delete functonality work fine.

    Also I have downloaded jqGrid beta 3.5 build 3. I have tried with both minimized & source code but I still get line error with firebug.

    I really like this jqgrid with theme roller!!

    I want to be able to solve this problem!!!

    Thank you.

  38. tony
    May 28th, 2009 at 12:16 | #38

    @Black,
    If you use the loader and not minified version, be a sure to configure the loader to load the appropriate lang file- i.e open the loader and change the grid.loacale-en to what you want. You can find the file search_adv.php in the demo package.

    @Toran
    Will check this. Thanks

    @soverture
    What is acctually the problem? Could you please try first with simple configurration without using any events.

  39. GeniU$
    May 28th, 2009 at 15:25 | #39

    problem: I have custom formatter for some column and trying to set the value to zero (0), but nothing happening

    please fix:
    file: grid.base.js
    line: 592
    method: $.fn.setCell
    existing line: if(nData != “”) {
    replace with: if(nData !== “”) {

  40. GeniU$
    May 28th, 2009 at 15:29 | #40

    @GeniU$
    forgot to say,
    version is 3.4.1

  41. tony
    May 28th, 2009 at 17:14 | #41

    @Black,
    Actually you are right. There is a bug. Fixed in GitHub
    Thanks

  42. Riv
    May 28th, 2009 at 21:53 | #42

    @tony

    Tony, no matter what I do, the contents of my grid do not line up with their headers. The grid will only align if I resize the headers, and then the contents of the grid will re-align. The actual cells are offset and leave white space from the left side of the grid.

    This started when I upgraded from 3.4 to 3.5.

    Any idea what I can do?

  43. Nima
    May 29th, 2009 at 00:42 | #43

    Thanks a lot for the great plugin. I’m very excited about the improved loading times in version 3.5. Will this also affect cases where we bind using a Javascript Array?? Array binding has always been veeeryyy slow.

    Thank you again for all the good work.

  44. Joakim
    May 29th, 2009 at 01:23 | #44

    Hi Tony!

    I’m not here to post any problems (I think others do that pretty well!). I just wanted to compliment you on a couple of things; primarily your way of dealing with the community you have built up here! You are always polite, and always respond (as far as I can tell!) and let people know whether you are considering something (or not). This is incredibly valuable and professional!

    Oh, and my compliments on a great application as well!

    Keep up the good work (on all fronts!) 🙂

  45. prbabu
    May 29th, 2009 at 02:25 | #45

    Very nice one, Joakim!
    Tony, Joakim has summarized many others would have been just “thinking” about this. Being a developer myself, words are too little to appreciate your selfless, passionate and professional effort. Not seen a grid yet as complete as jqgrid. I sincerely wish more developers take over some development from yours – may be I could when more proficient with jQuery and Javascript.

    With regards,
    Praveen

  46. sOverture
    May 29th, 2009 at 02:53 | #46

    @tony
    Thanks a lot for replying me. I have finally solved my problem ( loading…text was getting stuck after edit,save,delete in form editing). The issue was more with the way I was loading the data using data type json. Now I have changed to jsonstring because now I am using json serializer !!!!

    Thanks a lot for all your help!!

  47. May 29th, 2009 at 05:43 | #47

    Great work.man.

  48. Jay
    May 29th, 2009 at 11:54 | #48

    Hmm looks very nice, functionnalities are quite good.
    How ever the documentation is very poor in my opinion: not clear at all, when we want to push it a little bit further than basic use…

  49. Steve
    May 29th, 2009 at 15:58 | #49

    First off nice work on the new release and thank you.

    We have a couple places in our app where we load all data to the grid. One of the 3.5 fixes is to force the grid to load only the ‘rowNum’ number of rows. We weren’t specifying a rowNum before, so when we started using 3.5 we would only display 20 rows (default).

    We are specifying ‘loadonce: true’. I am wondering if this is set should it behave like it did previously did and ignore rowNum?

    I can also fix this by setting rowNum to a really large number, returning the actual number of rows from the server. etc. However, I would think there should be an option for loading all.

    Thank you!

  50. Riv
    May 29th, 2009 at 16:06 | #50

    The forum registration on this site is not sending validations emails. I really need help with the column alignment issue, but cannot gain access to the forums because of this.

    Thanks for your hard work, Tony.

Comment pages
1 2 3 7 362
Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information