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
progressive enhancement in jqgrid
30/12/2008
16:30
Avatar
majkel
Member
Members
Forum Posts: 69
Member Since:
10/11/2008
sp_UserOfflineSmall Offline

Do you consider to apply idea of progressive enhancement in jqgrid like in jquery. What I mean is to allow users that has no javascript enabled see at least results of the query in simple html table?

Majkel

05/01/2009
01:56
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Currently no.

Regards

Tony

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.

03/04/2014
19:58
Avatar
David Graham
Austin, TX
New Member
Members
Forum Posts: 1
Member Since:
03/04/2014
sp_UserOfflineSmall Offline

I was able to accomplish this by:

1) On first page load, have your server-side-script generate the HTML table (with the columns and rows of data). This is for SEO.

2) On the same first page load, have your server-side-script also dump JSON of the data into your jqgrid initialization or somewhere on the page.

3) Have your jqgrid (named the same as your HTML table in step1) initially set to local and load the the dumped JSON data. (Note: also use localReader to ensure the pager shows correct info)

4) After grid is initialized, immediately have the grid update to read from remote source (but don't trigger a reload).

5) The next operation a user performs on the grid, it will pull from remote source.

For more details on this approach to progressive enhancement with jqgrid, you can see it here on my question/answer in stackoverflow here and a working jsfiddle here 

-David

06/04/2014
13:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I suggest you to check your server side script. The script always return page:1 when request nex/prev page.

Please check the docs here what you should do (The example uses XML, but the principle is the same).

Please look our demo when working with JSON 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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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