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
No data on first loading grid, fills when clicking column heading
25/01/2012
18:15
Avatar
chrisisbd
UK
Member
Members
Forum Posts: 8
Member Since:
25/01/2012
sp_UserOfflineSmall Offline

I'm a new user, I've just installed jqgrid 4.3.1 on my xubuntu 11.10 system, I'm playing with my first test grid which

is basically the "My First Grid" example but with a different data source and column names.

When I go to the page with the grid on it it says "No records to view" but when I click on any of the column headings the data gets loaded and is displayed correctly.  I have debugged this to an extent, I'm getting an error in the PHP script that's loading the data when it's called the first time but not, for some reason, when I click on a column heading.

Can anyone suggest why the parameters sent to the PHP script would be different when clicking on one of the column headings as opposed to what gets sent when the page loads?  Obviously *something* is different but I can't fathom out what at the moment.

25/01/2012
19:16
Avatar
chrisisbd
UK
Member
Members
Forum Posts: 8
Member Since:
25/01/2012
sp_UserOfflineSmall Offline

It's OK, I found the error, I had "sortorder: date" in the options so that, on the first call, the SQL returned no data - but when I clicked on one of the columns the sortoder became "asc" and all was well.

Sorry for the noise.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
73 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