问题描述:

So basically i need to hide certain columns in my jqGrid as per the requirement. Here are 2 columns as in my code:

{name:'item1',index:'apron', width:120,

align:"center",editable:true,editoptions:{size:10},

{name:'item1',index:'baggage', width:120,

align:"center",editable:true,editoptions:{size:10},

Because of some reason it is not useful to keep "name" value unique for the two columns and jqGrid allows me to hide columns using name only, referring to the column by "index" does not work. Is there any other key I can introduce?


If the question above seems complicated here is a simpler question: Is there a way to hide a column using anything other than "name" ?

相关阅读:
Top