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
Yahoo Mail like dynamic scrolling instead of paging
02/07/2009
14:40
Avatar
happyfirst
Member
Members
Forum Posts: 16
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

How about a "paging" option that instead of building a pager and only showing ONE page of data at a time, you hook into the scrollbar and whenever the user scrolls to the bottom you then request to the server for more rows of data to APPEND to the current client side results.

This helps solve the issue of having to count rows to determine how many pages there even are.

Yahoo mail has a real nice implementation of this.

02/07/2009
22:27
Avatar
Clement
Member
Members
Forum Posts: 48
Member Since:
30/03/2009
sp_UserOfflineSmall Offline

I think this is already available.. Check out the demo under "New in version 3.4" => "Autoloading data when scroll".

02/07/2009
22:31
Avatar
happyfirst
Member
Members
Forum Posts: 16
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

LOL! Thanks! I'll look into that.

09/09/2009
00:28
Avatar
David Lee
Guest
Guests

The problem with the current implementation in jqGrid is that the scrollbar does not indicate to the user the position within the current table, nor the table's full size. If one page of data is loaded, then the scrollbar only shows that the table is only one page long, whereas the backend might have hundreds of pages. With this behavior, you are not able to reach the last page of the data just by dragging the scrollbar's cursor. The only way to get to the last page of the data is by scrolling to the end of the currently loaded data, waiting for the next page to load, scrolling again to the end of table, waiting,... repeated until you finally reach the last page.

Yahoo Mail uses an appropriately sized gif image to force the proper scrollbar on the right. This way, even if you one one page loaded in the table, the scrollbar shows that the entire dataset is much larger, and you may scroll to the real bottom of the dataset.

10/09/2009
04:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello David,

Yes you are right. In the next major releases I will try to correct this and add a more power to the local data manipulation

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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