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_Related Related Topics sp_TopicIcon
Change default ajax parameters
31/05/2010
19:18
Avatar
udx6bs
Member
Members
Forum Posts: 6
Member Since:
31/05/2010
sp_UserOfflineSmall Offline

Is it possible to change the default parameters of an ajax request when editing/adding/deleting?

  On my cms the id attribute points to a site or a function. Now when I send a request jqgrid sends the 'id' and 'oper' parameters, which are built in parameters. Is it possible to change the name of those with some configuring?

Example:

This is what i am sending now:

id 2
oper edit
t.enabled 1
t.id en
t.name English
t.timestamp 2010-05-18 21:43:22

And I want to have something like this:

someothername 2
oper edit
t.enabled 1
t.id en
t.name English
t.timestamp 2010-05-18 21:43:22

Sorry for bad english.

31/05/2010
21:40
Avatar
udx6bs
Member
Members
Forum Posts: 6
Member Since:
31/05/2010
sp_UserOfflineSmall Offline

So like stated on the site:
http://www.trirand.com/jqgridw.....rm_editing

"additionally we add a pair id:rowid where the rowid is the id of the edited row"

i want to change the id:rowid pair to be myid:rowid
is this possible?

hope my problem makes more sense now

01/06/2010
01:35
Avatar
tim
Calgary Alberta Canada
Member
Members
Forum Posts: 61
Member Since:
04/11/2009
sp_UserOfflineSmall Offline

I think you can use 'prmNames' for this (it's a grid level config setting)

Check the docs, see if it will work for you.

tim

01/06/2010
03:04
Avatar
udx6bs
Member
Members
Forum Posts: 6
Member Since:
31/05/2010
sp_UserOfflineSmall Offline

Thank you very much.

Worked like a charm!

I read that wiki page 3 times searching for this and it slipped. 🙂

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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