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
Sorting on the client side
06/06/2011
11:46
Avatar
ScorpioN
New Member
Members
Forum Posts: 2
Member Since:
06/06/2011
sp_UserOfflineSmall Offline

Hello!

I have about 500 records and I need to implement sorting on the client side(requirement). Sorting takes about 2-3 seconds and I need to show to client some message like "please, wait…". I'm trying to use jQuery blockUI plugin. I've implemented handler for onSortCol event, but message appears with a big delay. If I try to show alert – it appears immediately. If I try to show just some div with a text I have delay also. Can anybody help me? JQGrid version – 3.7.2.

06/06/2011
12:19
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

The performance of the client sorting depend mostly from the performance of the JavaScript, so depend on the browser which you use. For example Google Chrome is much better as IE6 in the JavaScript performance. In any way you should understand that your requirement client side instead of the server side makes the sorting at least 1000 times slowly. Is it really what your customer want?

Do you use at least client side paging? It can improve the performance dramatically. Look at the old demos this and this and compare the sorting performance. Which web browser you use? Do you use gridview: true jqGrid parameter?

If you write about the performance, the full jqGrid definition or better the demo would help very much.

Best regards
Oleg 

06/06/2011
12:50
Avatar
ScorpioN
New Member
Members
Forum Posts: 2
Member Since:
06/06/2011
sp_UserOfflineSmall Offline

Oleg, thank you for your reply. Actually, I do not need to increase a  performance. I can't use server sorting due to some external service restrictions. All I need is to show a message "wait..." to client immediately after user clicks on column header.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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