Forum
09:46
15/07/2011
Sorry,I had found the problem.
Because I didn't put the remapcolumns into jqgrid events,so the remapcolumn will do first before jqgrid had been loaded,so it will get null id.
But there is a new problem.
I need after save cell and reload,I had tried many event places but can't get I want.
If i put remapcolumn into one of the event,the permutation will remapcolumn again and again,and get wrong permutation.
10:40
15/07/2011
Okey,I found the bug.
I set a flag value for just do remapcolumn once in the loadcomplete event, and the remapcolumn loop problem will get resloved.
And the id null bug is clear.
The Colmodel key position of permutation cannot be remap.
ex: the key position is 3 ,the oringnal permutation : [0,1,2,3,4,5,6,7]
after remap just once : [0,7,5,3,4,1,2,6], the id is correct, after reloadgrid the id is corrent.
after remap just once : [0,3,5,7,4,1,2,6], the id is correct, after reloadgrid the id is null.
Most Users Ever Online: 715
Currently Online:
53 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