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
Few Issues with EditGrid When I select multiple rows for editing
01/09/2012
00:29
Avatar
sussie
New Member
Members
Forum Posts: 1
Member Since:
01/09/2012
sp_UserOfflineSmall Offline

Hello,

I am not doing inline editing but I open a form to edit selected row. I want to edit mulitiple rows and submit all at once in the end.  I tried to work with navButtons to navigate the selected rows but if I depended on that I had two problems one is it did not save the values I changed and second is when I clicked next it kept on selecting values from the grid which I do not want to.

I added 2 buttons (back and next) which will only loop through the selected rows for editing, I click on edit button to open edit form and from there I navigate to the selected rows. Problems I have is:

1) I selected 3 rows (or can be more than that) when I click the third row (and there on) the values are not populated, I populate edit form is with below statement ..

 jQuery("#Grid").jqGrid('editGridRow', selectedIds[nextRowIndex], nextRowVal);

2) I edited second row and clicked next to go to the thrid one. But when I click on the back button I want the form to populate the edited values. 

 jQuery("#Grid").jqGrid('editGridRow', selectedIds[prevRowIndex], prevRowVal);

this is not happening

Any help is appreciated, thanks

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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