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
Paginating Local data -- how?
29/04/2010
20:16
Avatar
bobbytuck
New Member
Members
Forum Posts: 1
Member Since:
29/04/2010
sp_UserOfflineSmall Offline

I've just implented jqgrid on my cold fusion site. Everything works fine. I'm loading the data locally from an array.

However, I'm unclear how to paginate this. I can turn on the page -- and I see the pager -- but it says page 1 of 0 -- and won't allow me to scroll.

How can I populate a local array with, say, 100 bits of data but only show 10 at once. Does JQgrid automatically segment this into units of 10? Or is this something I need to do manually?

Very confused.

Bobbytuck

02/05/2010
20:32
Avatar
ddotsenko
Member
Members
Forum Posts: 15
Member Since:
08/03/2010
sp_UserOfflineSmall Offline

There is really no code in jqGrid that manages a larger in-browser dataset, while displaying a subset in the grid. You have to write that code yourself. You override 'datatype' grid property with a function that does the fetching of the data subsets.

A very convoluted example of working against "Local storage" is here:

http://www.accentsolution.com/.....store.html

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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