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
sp_Feed Topic RSS sp_TopicIcon
loadonce, jsonreader and sorting
23/11/2009
18:00
Avatar
lotjuh
Member
Members
Forum Posts: 28
Member Since:
06/09/2009
sp_UserOfflineSmall Offline

Hi Tony,

I believe we've found a bug when sorting columns using the loadonce option while there is a custom jsonreader defined. I'm not completely sure if the bug is caused by this combination, but since it works fine when just using the local option, I assume it has something to do with the jsonreader.

What seems to happen is dat everytime the user sorts one of the columns, the data in the grid gets duplicated.

You can see it here: http://bvs.winnipeg.nl/test.pl

25/11/2009
09:32
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. I will investigate this. It will help me a lot if you put not the min version of jqGrid, but the development one. This is really strange.

One note - The problem does not occur in IE8 only - just try - all other browsers have the problem.

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.

25/11/2009
09:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Could you please not to use

$(window).load(function()
{
$('#itemGrid').jqGrid(
...

but jQuery document ready function
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.

25/11/2009
14:22
Avatar
lotjuh
Member
Members
Forum Posts: 28
Member Since:
06/09/2009
sp_UserOfflineSmall Offline

I placed the src code on the site.

Using ($window).load is not the problem, but I changed it to the jquery document ready function for you anyway.

25/11/2009
15:31
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

The problem is in the definition:

<table id="itemGrid"><tr><td/></tr></table>

If you want all to bo ok do it so:


$('#itemGrid').empty().jqGrid({
...
});

Hope your understands what I men 🙂
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.

25/11/2009
16:55
Avatar
lotjuh
Member
Members
Forum Posts: 28
Member Since:
06/09/2009
sp_UserOfflineSmall Offline

Ah, thx a lot for your time! It works now ^^

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
51 Guest(s)

Currently Browsing this Page:
1 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