Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Change in the unique row id

No Tags
UserPost

11:12
13/05/2012


Arvind Yadav

Member

posts 11

Hi Tony,


Can you please let me know the cases in which getDataIDs and selarrrow can give the 1,2,3,4… as the row ids instead of the actual column value that I marked as key:true in the col model.


Also, please suggest me how can I correct the problem.


Details:

I have col1 to col 7 in my grid. I have marked col 4 as key:true. getDataIDsgives the values of the col4. But when I change the order of few columns(here I have saved the column permutations) and then (on restoring the column permutations) getDataIDs  gives the rowid values as 1,2,3,4……


Thanks,

22:09
25/05/2012


Arvind Yadav

Member

posts 11

Hi,


I have resolved the issue. I made the sortable:false in the grid configuration to stop the column reordering. I enable the column reordering only through the column chooser.

Then, followed the help described on the following url-

http://stackoverflow.com/quest…..references


Anyone can easily save the user preferences (e.g. sorting,paging,filter,ordering,column width,hidden and visible column) for the user's next visit.


Thanks,


No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

crohit

maguimac

48 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9656

Posts: 28942

Membership:

There are 10350 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information