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
Missmatch row ids when saving a row after remapping columns
01/04/2014
13:17
Avatar
mestevez
Barcelona
Member
Members
Forum Posts: 3
Member Since:
06/03/2013
sp_UserOfflineSmall Offline

Hello,

I've realize that, after applying the function remapColumns on a grid which uses an specific column as id (via key:true param) after executing the function saveRow an incorrect rowid is assigned to the updated row.

I've set an example at:

    http://jsfiddle.net/mestevez85/2cJfW/

At first, you can see that the rows has the ids (1,2,3), which are defined by the 'order' column. If you update the content of the first row, for example, after the update, the row id becomes to 'User1'. It has applied the column 'code' as id, instead of the 'order' column.

Could you verify if it is a bug, or if I'm doing something wrong, please?

Thanks in advance

06/04/2014
14:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. I confirm that this is a bug. I have fixed it in GitHb

I have put the last compiled jqGrid source in the site, so you can check your example online from the link provided from you.

Thank you again.

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

07/04/2014
16:07
Avatar
mestevez
Barcelona
Member
Members
Forum Posts: 3
Member Since:
06/03/2013
sp_UserOfflineSmall Offline

Hi Tony,

It work's fine at the online test and in my system.

Many thanks,

Best regards,

Marc

10/04/2014
11:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello Marc,

Thank you for confirming that it works as expected.

Kind 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: 715

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