Are there hide / show column functions in jqGrid, as in flexigrid?

Are there hide / show column functions in jqGrid, as in flexigrid? I want the user to be able to hide columns, so it will be easy for them to view related columns (information)

+4
source share
2 answers

Check hideCol () and showCol ()

$('#tblId').hideCol('column'); $('#tblId').showCol('column'); 

Instead of a column name, you can also use a column index.

But I did not see that this function was implemented (for example, directly from the header).

+7
source
 JQGrid1.Columns.FromDataField(ColumnName).Visible = false; 
0
source

All Articles