jQGrid -To show some columns and hide some columns
Here is a simple tip on jqGrid. Sometimes in jqGrid, there might be a requirement that we need to show some columns and hide some columns, let’s say, after save button is clicked. Here is the code for that. HTML: SCRIPT: ... jQuery("#list").jqGrid({ url:'Search.aspx?q=1', datatype: "json", colNames:, colModel:, rowNum:10, rowList:, pager: '#pager', sortname: 'id', viewrecords:…
read more