Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help me
i'm working in jqgrid
i want to load the data to jq grid
my codes are as follows

C#
$("#jqgEmpSearch").jqGrid({
   url:"Servicelibrary/employeesearch.aspx",  //?empid="+$("[id*=txtSrchEmpID]").val()+""
   datatype:"json",
   colNames:['Emp Number','Emp Name'], // UM_Employee_Number UM_FirstName
   colModel:[
             {name:'UM_Employee_Number', index:'UM_Employee_Number',width:'150'},
             {name:'UM_FirstName', index:'UM_FirstName',width:'150'}
            ],
   rowNum:5,
   rowList:[5, 10,20,30,40,50],
   pager:'#jqgEmpSearchPager',
   sortname:'EmpNum',
   viewrecords:true,
   pager:'#jqgDiv',
   caption:"Employee Search Result",
   loadonce:true

});
Posted
Comments
CodeHawkz 25-Mar-14 21:10pm    
Hi Sushma,

Well ok, you are working with JQGrid, it's pretty good. If only you have mentioned what the problem is, we might be able to help you out.
sushma_bhardwaj 26-Mar-14 0:26am    
hi.. I can able to display a jqGrid popUp with col name Emp Num and Emp Name but I have to load all the user into JQGrid.. I dont knw how toload the all the user inthe entity(get,set) into jqgrid
sushma_bhardwaj 26-Mar-14 0:27am    
please could you help me out.. its very urgent

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900