Forum
14:40
06/12/2014
http://jsfiddle.net/usqgrnau/1/
Â
just uncomment the line with "hidden: 'true'" and columns data will be messed up (last column's data just disappears)
Â
browsers: mac chrome latest, mac safari latest.
jqgrid 4.6.0 and from master branch
18:56
10/08/2009
Sorry, but where you get so bad code example!!!??? Please never fill the grid with respect of addRowData. The simplified code which do the same is http://jsfiddle.net/OlegKi/usqgrnau/3/. The problem is that the code of the example is still buggy. It uses
hidden: 'true'
 instead of
hidden: true
It's not the same values. So the demo is buggy and the only problem which I see is that jqGrid generate a little strange looking grid in the case of wrong input data. Nevertheless one can change the code of jqGrid a little to improve the look of results in case of usage wrong type of hidden property of colModel. One can improve the code of jqGrid by replacing the lineÂ
if( ts.p.colModel[j].hidden ) {
to
if (ts.p.colModel[j].hidden === true) {
(like the line of formatCol do) and the lineÂ
if(!ts.p.colModel[i].hidden) {
toÂ
if (!ts.p.colModel[i].hidden === true) {
Best regards
Oleg
  Â
Most Users Ever Online: 715
Currently Online:
30 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