Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
This topic is locked No permission to create posts
sp_Feed Topic RSS sp_TopicIcon
jqGrid 3.6 is finally released
09/11/2009
00:18
Avatar
admin
Admin
Members
Forum Posts: 66
Member Since:
05/05/2007
sp_UserOfflineSmall Offline

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

09/11/2009
02:19
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

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.

09/11/2009
03:51
Avatar
jmav
Member
Members
Forum Posts: 34
Member Since:
16/10/2009
sp_UserOfflineSmall Offline

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

09/11/2009
07:59
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

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.

09/11/2009
08:45
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

09/11/2009
10:21
Avatar
fuhrysteve
Member
Members
Forum Posts: 12
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

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).

09/11/2009
10:29
Avatar
friflaj
Member
Members
Forum Posts: 17
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

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.

09/11/2009
10:57
Avatar
fuhrysteve
Member
Members
Forum Posts: 12
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

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/

09/11/2009
13:22
Avatar
friflaj
Member
Members
Forum Posts: 17
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

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?

09/11/2009
13:48
Avatar
jmav
Member
Members
Forum Posts: 34
Member Since:
16/10/2009
sp_UserOfflineSmall Offline

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)

09/11/2009
13:55
Avatar
jhsu
Member
Members
Forum Posts: 23
Member Since:
05/11/2009
sp_UserOfflineSmall Offline

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

09/11/2009
14:52
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

@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.

09/11/2009
15:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

10/11/2009
07:43
Avatar
jmav
Member
Members
Forum Posts: 34
Member Since:
16/10/2009
sp_UserOfflineSmall Offline

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.

[Image Can Not Be Found]

10/11/2009
08:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

@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

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

10/11/2009
10:01
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

@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 ?

11/11/2009
02:46
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

11/11/2009
05:07
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

@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.

11/11/2009
09:43
Avatar
bluesky
New Member
Members
Forum Posts: 1
Member Since:
11/11/2009
sp_UserOfflineSmall Offline

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/11/2009
11:03
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

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

This topic is locked No permission to create posts
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
48 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information