0

My colmodel definition looks like follows:

<c name='NewShippingAddressCity' index='NewShippingAddressCity' align='left' sortable='false' hidden='true' width='150'></c>

but I don't know why this column is still visible. What should I change to hide it?

I use jqgrid 4.4.0

EDIT 1 It looks like from some reaseon hidden attribute becomes 'undefined' so te javascript sets it to false instead of true.

szaman
  • 6,666
  • 13
  • 53
  • 81

1 Answers1

1

No by default value of hidden is false. try to give it with out quotes and as i can not check your entire code, follow this link there are plenty of methods in answers which can provide you the functionality.

Alternatively, you can use hideCol property of jqgrid. See the documentation

Community
  • 1
  • 1
Piyush Sardana
  • 1,748
  • 4
  • 19
  • 33