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
Prevent initial load
10/09/2009
07:54
Avatar
rekna1
Member
Members
Forum Posts: 9
Member Since:
21/07/2009
sp_UserOfflineSmall Offline

Is there an option to prevent initial loading data from server?

It should only load data when triggerReload command is executed.

Maybe an option disableInitialLoad should be added ?

10/09/2009
12:04
Avatar
MamaliFrenchi
Member
Members
Forum Posts: 62
Member Since:
22/12/2008
sp_UserOfflineSmall Offline

one sample in document i don't remeber which one is doing what you're looking for. The trick is first to bind the grid to inline data without any data, then when your trigger Reload add the URL of the server.

15/09/2009
15:04
Avatar
rekna1
Member
Members
Forum Posts: 9
Member Since:
21/07/2009
sp_UserOfflineSmall Offline

I've got it working... I set initially the datatype to clientside, when calling

jQuery("#list").jqGrid

Immediately after this, I set datatype back to json using setGridParams.

The grid does not load, but any subsequent reloads, will get data from the server...

Still think this might be added to jqgrid as an optional parameter : disableInitialLoad true or false...
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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