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
Avoiding first request
22/07/2011
13:47
Avatar
lodr
Member
Members
Forum Posts: 3
Member Since:
22/07/2011
sp_UserOfflineSmall Offline

Hello

I know you can disable server request by using loadonce option in jqGrid but what I'm talking about is different.

I would want to propose some option to avoid the very first request. If you want an example supose you want to mix in the same table two request to different webservices, i.e.: webserver/request/one and webserver/request/two.

So you can retrieve the responses, mix de data and use addJSONData to show them but you dont have any special URL to specify as url option and you dont want jqGrid to load any initial data. You will feed the grid when you want.

My proposal is to accept a value of null for the url option. When null is given no initial request is performed.

Hope you agree with me.

Thanks for sharing such awesome component.

Cheers!

03/11/2011
16:52
Avatar
fontzter
Member
Members
Forum Posts: 11
Member Since:
18/11/2008
sp_UserOfflineSmall Offline

This would be a nice feature.  For now as a work around, I set the url to one that returns empty.  Then on the complete, I set it to what I want it to be.  This starts the grid empty.

Hth,

Dave

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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