Forum

July 12th, 2025
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
cellEdit not updating
19/11/2009
06:12
Avatar
ploppy
Member
Members
Forum Posts: 38
Member Since:
28/10/2009
sp_UserOfflineSmall Offline

Hello

I am confused as to why my celledit is not working. ordinary edit works ok, but with celledit, when i amend an entry, it changes the entry in the grid, but when i reload the page, it reloads the old data. i am using the same edit.php page that does the ordinary edit. i have included the code below, but still no difference. if someone could help i would be grateful. many thanks.

        cellsubmit: 'remote',
        cellEdit: true,
        cellurl: 'edit.php',

Wish i knew more about jqGrid

21/11/2009
05:25
Avatar
ploppy
Member
Members
Forum Posts: 38
Member Since:
28/10/2009
sp_UserOfflineSmall Offline

any help with this please? thanks

Wish i knew more about jqGrid

21/11/2009
08:42
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

How look your edit.php - here you should apply your own php code to update the cell. The demo does not do this for security reasons.

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.

23/11/2009
06:18
Avatar
ploppy
Member
Members
Forum Posts: 38
Member Since:
28/10/2009
sp_UserOfflineSmall Offline

thanks for reply Tony.

However, i am confused by your reply? if you look at my original post, you will see that i am using my own edit.php file which is working fine when i use it to edit entries based on checkbox selection, it edits fine. i am using that same file which has all the required db entries etc. do i need to use a different code in celledit than in edit? why does my edit.php not work in celledit but works with normal edit?

many thanks

Wish i knew more about jqGrid

23/11/2009
12:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

why does my edit.php not work in celledit but works with normal edit?

I can't tell you why - all what you need to do is to check what is passed and what is accepted server side.

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.

23/11/2009
15:11
Avatar
ploppy
Member
Members
Forum Posts: 38
Member Since:
28/10/2009
sp_UserOfflineSmall Offline

Tony

Guess what i asking is, if normal edit works should celledit work using the same file or do i have to code something different? thanks

Wish i knew more about jqGrid

25/11/2009
05:37
Avatar
ploppy
Member
Members
Forum Posts: 38
Member Since:
28/10/2009
sp_UserOfflineSmall Offline

Tony

i didn't think the question was unreasonable. can anyone answer it? it's taken 5 days to reach this stage and still no answer. thanks

Wish i knew more about jqGrid

27/11/2009
04:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

ploppy,

1. What you understand as "normal edit"?

2. Could you please look here:

http://www.trirand.com/jqgridw.....the_server

3. It is not a job of jqGrid to analyze your server side code - we just post data and if this data is accepted server side it will work if not it will not work.

Best 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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

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