Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.15.218.44
jQuery('document').ready(function() {
alert("zxzx");
jQuery("#users").jqGrid({
url:'gridsrc.php',
datatype: "json",
height: 255,
width: 600,
colNames:['ID','Name', 'Code'],
colModel:[
{name:'id',index:'id', width:65, sorttype:'int'},
{name:'name',index:'name', width:150},
{name:'code',index:'code', width:100}
],
rowNum:50,
rowTotal: 2000,
rowList : [20,30,50],
loadonce:true,
mtype: "GET",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#usersPage',
sortname: 'id',
viewrecords: true,
sortorder: "asc",
caption: "Toolbar Searching"
});
jQuery("#users").jqGrid('navGrid','#ptoolbar',{del:false,add:false,edit:false,search:false});
jQuery("#users").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});
});
|