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
include sorting of data returned in case of loadonce:true
18/12/2012
13:54
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

one common problem in the usage of loadonce:true is unsorted data returned from the server. Sometime (in case of usage jsonp to get data from the foreign server) it's really impossible to force sorting of data on the server.

So it would be very helpful to have an option to sort the data like addLocalData do this in case of usage of loadonce:true. The exact implemeltation could be different.

The only current way to implement local sorting of data return from the server at the first time is reloading of the grid directly after loading from the server. The problem is that the exact implementation is a little tricky and slowly as it could be. One have to trigger reloadGrid inside of loadComplete but one need to do this only in case of datatype not equal to "local". I don't include here the full implementation. The idea is just to provide simple standard way to make the sorting directly at the first loading.

Best regards
Oleg 

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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