I have a jqGrid column which name may change (is a variable), how do I get the name and hide it?
Something along the lines of the below (which don't work)
$('#tblGridName').jqGrid('hideCol',4);
or
var infoName = $('.ui-jqgrid-htable th:eq(4)').text();
$('#tblGridName').jqGrid('hideCol',infoName );