Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable search for hidden columns in jqGrid

Tags:

jqgrid

I have bunch of hidden columns in my jqGrid, on which I want to enable search,

eg.

{ name: 'Col1', width: 200, hidden: true, search: true },
{ name: 'Col2', width: 200, hidden: true, search: true },
{ name: 'Col3', width: 200, hidden: true, search: true }

But this columns not displaying search popup.

Can anybody help ?

like image 427
Mox Shah Avatar asked Mar 20 '12 10:03

Mox Shah


1 Answers

You should use additional searchhidden option in the column definition:

searchoptions: {searchhidden: true}
like image 107
Oleg Avatar answered Oct 21 '22 16:10

Oleg