Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






jqGrid 3.6 is finally released
Read original blog post

UserPost

00:18
09/11/2009


admin

Admin

posts 56

Hello All,
The long awaited 3.6 version of jqGrid is out. For a full list of changes, additions and fixes please refer to the jqGrid Wiki . All the new features can be seen here. You can download the new version form the Download section.

Enjoy
jqGrid Team


Read original blog post

02:19
09/11/2009


Akeru

Member

posts 13

There seems to be a problem with the export function. At least the colModel and the colNames are not exported.

Could some on confirm ?

Thanks.

03:51
09/11/2009


jmav

Member

posts 34

Post edited 09:51 – 09/11/2009 by jmav


Praise to all developers, especially Tony, for such rapid development and responsiveness.

07:59
09/11/2009


Akeru

Member

posts 13

It seems I hit another weird problem : If I use the new "True srolling" feature (which is real improvement, thanks) with a json response that contains a reference to an image (either hard coded img tag or a div with backgound-url in css) the first batch of row is loaded correctly, but after scrolling the initialy loaded rows, the grid issue an ajax request to the same data (IE same rows and page parameter), than after everything works fine.

So to summarize, I have row 1-30 loaded at grid display, scroll to 31, and it load 1-30 again, then continuing to scroll, data 30-60 are loaded fine. If I remove the img reference, everything works fine.

I hope I was clear enough.

08:45
09/11/2009


tony

Sofia, Bulgaria

Moderator

posts 7009

Post edited 14:59 – 09/11/2009 by tony


Hello

@Akeru

1. Could you please provide a example. With such kind of information it is not possible to do anything.

Also In which browser is this? what you try to export – xml or JSON?.  Do you have included the needed modules for this?

2. To be a honest I never test it with images in data. Should check this.

Best Regards

Tony

10:21
09/11/2009


fuhrysteve

Member

posts 12

Post edited 16:23 – 09/11/2009 by fuhrysteve


With true scrolling enabled,

$("mygrid").setGridHeight()

sometimes re-appends data to the table without clearing the previous data. (looks like it's happening in populateVisible() to me..).

So far, I've only been able to reproduce this with large table dimensions (tall and wide), and a small number of rows (too few for vertical scrolling).

10:29
09/11/2009


friflaj

Member

posts 17

Is 3.5 still available? I replaced my copy with 3.6, I want to see if some of the problems I'm seeing are new or if I just overlooked them earlier.

10:57
09/11/2009


fuhrysteve

Member

posts 12

friflaj said:

Is 3.5 still available? I replaced my copy with 3.6, I want to see if some of the problems I'm seeing are new or if I just overlooked them earlier.


Looks like this is 3.5.3 (last 3.5.x release)
http://www.trirand.com/jqgrid/…..demo35.zip

Source:
http://www.trirand.com/jqgrid/downloads/


13:22
09/11/2009


friflaj

Member

posts 17

Post edited 19:23 – 09/11/2009 by friflaj


The error is gone if I plug 3.5 back in. The config and the json data being fetched is posted at http://gist.github.com/230191

Should I post bugs on the bugs forum? Or on the github tracker?

13:48
09/11/2009


jmav

Member

posts 34

Demo files are not available at http://www.trirand.com/jqgrid/…..demo35.zip.

Link name is ok "Demo files (3.6) " but content is wrong (3.5)

13:55
09/11/2009


jhsu

Member

posts 23

Post edited 19:57 – 09/11/2009 by jhsu
Post edited 20:29 – 09/11/2009 by jhsu


Hi Tony,


Thanks for the release! I see you fixed the Pager bar css display issue i posted earlier. Good work!


Will it be possible to provide a list of dependencies for each selectable component on the download page (http://www.trirand.com/blog/?page_id=6)?


Thanks again.

Jack

14:52
09/11/2009


Akeru

Member

posts 13

Post edited 20:56 – 09/11/2009 by Akeru
Post edited 21:18 – 09/11/2009 by Akeru


@Tony : Please could you have a look here 

http://pastie.org/690809 (test.js)

http://pastie.org/690811 (test.html)

http://pastie.org/690818 (results)

Tests done using Safari4 and Firefox 3.5 on a Mac and Firefox 3.5 on a Linux machine. Export to JSON

I was not sure of the best way to provide you test files, if this is not convenient for you, just tell me what to do.

Thanks.

15:04
09/11/2009


tony

Sofia, Bulgaria

Moderator

posts 7009

Hello,

Thanks. It is fine. Will check it. Also I do not have Mac, so the test will be only on Linux

Best Regards

Tony

07:43
10/11/2009


jmav

Member

posts 34

Post edited 13:44 – 10/11/2009 by jmav
Post edited 13:44 – 10/11/2009 by jmav


Bug with scroll bars, if height parameter is set to "auto" IE7 always show both scroll bars.

If height is set to fix height everything is ok. In FF is ok.

08:24
10/11/2009


tony

Sofia, Bulgaria

Moderator

posts 7009

@Akeru

Thanks. This is a bug and it is fixed in GitHub. Also the same work ok with FireFox on Windows.

@jmav

Serch the forum for this problem and the solution. There is such one. The problem is in IE6/7, but I do not like the provided solution here in forum – sorry.

@jhsu,

Thanks for this recommendation – I will do it in the next releases.


Regards

Tony


10:01
10/11/2009


Akeru

Member

posts 13

Post edited 16:01 – 10/11/2009 by Akeru


@Tony : I'm the one who should thank you, this was a quick fix !

Could you also have a look and my issue with true scrolling and images ?

02:46
11/11/2009


tony

Sofia, Bulgaria

Moderator

posts 7009

Hello,

I will look into this issue. It will help me a lot if you can send me a link to the problem. Yes, in this case we should concentrate on what data you return from server.

Regards

Tony

05:07
11/11/2009


Akeru

Member

posts 13

@Tony,

After extensive testing, I get the feeling that it has nothing to do with embedded images in data or not. I think it is more related to the number of visible rows in the grid. Please have a look a theses pastie. Setting rowNum to 5 (or 9) instead of 10 triggers the issue.

Test.html is the same as before.

http://pastie.org/693459 – test.js

http://pastie.org/693461 – data.php

Thanks for your time.

09:43
11/11/2009


bluesky

New Member

posts 1

Will the old API be support in future versions ?

It seems all jQuery plugins are evolving in a way where parameters and methods are accessed using 'magic strings'… Won't it make it harder (or even impossible) for IDE's to ever provide for code completion for plugin's like this one ?

11:03
11/11/2009


markw65

Member

posts 179

bluesky said:

Will the old API be support in future versions ?

It seems all jQuery plugins are evolving in a way where parameters and methods are accessed using 'magic strings'… Won't it make it harder (or even impossible) for IDE's to ever provide for code completion for plugin's like this one ?


I cant speak for whether it will continue to be supported. I cant see why it shouldnt, for those who want it.


But the problem with the old api is that it adds 150+ relatively common function names to the $.fn namespace. How many plugins might want a showCol, setCell or setLabel method, for example?


If you disable the old api (set $.jgrid.no_legacy_api = true after loading the language file, and before loading the rest of the grid), you dont get anything beyond $.fn.jqGrid.


A lot less to worry about every time you add a new plugin to your project…


The other way to do it would be to have $("").jqGrid return a class object, which you then call methods on. But that completely breaks backward compatibility, and isnt really the jQuery way of doing things.


So yes, you do lose code completion in ide's (at least until someone extends it to match the jquery-ui idiom) – but you gain encapsulation – which seems far more important to me…


Mark


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

67 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9592

Posts: 28785

Membership:

There are 10175 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7009 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information