Forum


14:39

10/08/2009

For the grid with local datatype (or in case of remote datatype but loadonce:true) it is better to get 'data' internal parameter of jqGrid. In case of pure remote data you can use getRowData without any additional parameters to get the grid contain.
If you copy the contain of one grid to another one which are on the same page you should don't forget to assign new unique ids for all rows. The row ids will be used as the ids of <tr> elements of the corresponding table. How it is well known on one page all ids must be unique. So you have to assign the new ids for the second grid. The simple way can be to change the original ids assigning any prefix to row ids of the new table. For example if the first grid has row id = "1" you can copy it in the secon grid as id = "x1" (with the prefix "x").
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
64 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66