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
How To use JQgrid Without any server side language
16/09/2013
15:51
Avatar
mohsin
Pakistan
Member
Members
Forum Posts: 17
Member Since:
16/09/2013
sp_UserOfflineSmall Offline

I want to Populate data from JSON by using javascript(BackBone.js) and Display the grid on simple HTML .SO kindly someone told me How to do that .

Thanks LaughLaugh

16/09/2013
18:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

You can look at our demos here

See Loading data item

Also you can check the documentation on how to work with local data

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

17/09/2013
08:08
Avatar
mohsin
Pakistan
Member
Members
Forum Posts: 17
Member Since:
16/09/2013
sp_UserOfflineSmall Offline

I already try this But its not working i am fetching data from http://ws.geonames.org/searchJSON  .Kindly help me to figure out this problem .

Regards 

17/09/2013
13:06
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi mohsin,

I would interpret your original question like Tony did: loading local JacaScript data. If you do need to load data from some public server then you should typically use JSONP. See the answer, this one, this one and many other examples. The exact way of usage parameters of URL depend on the server from which you load the data.

I just tried to load data from http://ws.geonames.org/searchJSON and it works. The demo uses one parameter (maxRows) which I found here. It seems that geonames.org supports server side paging of data (startRow and maxRows options). So it seems possible to load the page of data from the server too and not use loadonce: true option which I used in my demo. Look at the answer which describes the usage of serializeGridData callback (for another server!!!) to implement very close scenario. In the way you can create grids corresponds your exact requirements.

Best regards
Oleg

17/09/2013
15:03
Avatar
mohsin
Pakistan
Member
Members
Forum Posts: 17
Member Since:
16/09/2013
sp_UserOfflineSmall Offline

thanks Oleg    Laugh   Laugh   Laugh.  it resolves my problem .

Laugh  Laugh

   Laugh

18/09/2013
11:38
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thanks Oleg. Glad to see you again.

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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