Forum
12:07
15/11/2010
First off thanks for the AWESOME control!
I would like to see an event added that gets called before populate makes the call to the server (ie. just before the .ajax call).
This would enable easy setup of caching, modification of parameters or even customization of urls according to query parameters. I manually added code to do this to the grid base js, and now have really nice caching of previously requested pages :)... I think this would be usefull for a lot of different applications.
My beforeDataRequest method takes 3 parameters: url, arguments, callback
url -> The url of the server call
arguments -> The arguments being passed to the server.
callback -> The success callback.
If the method returns true, the ajax call is performed, if false it is not. This has meant I am able to catch server queries and check if I have already received the page... If I have a retrieve the data from the cache and call the supplied callback... Nice and fast 🙂
Thanks!
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66