function GetCICData() {
$.ajax({
type: "post" ,
async: false ,
url: "CICSequence.aspx/GetCICs" ,
contentType: "application/json; charset=utf-8" ,
dataType: "json" ,
success: function (r) {
cicdata = r.d;
cicdata = jQuery.parseJSON(cicdata)
$( "#grdCICs" ).wijgrid({
showFilter: true ,
allowPaging: true ,
scrollMode: "vertical" ,
pageSize: 17,
pagerSettings: { position: "bottom" },
data: cicdata,
columnsAutogenerationMode: "none" ,
columns: [
{ dataKey: "CI_REFNO" , headerText: "CI_REFNO" , dataType: "number" , visible: false },
{ dataKey: "CI_REFERENCE" , headerText: "Reference" , dataType: "string" , width: 60 },
{ dataKey: "CI_DESCRIPTION" , headerText: "Description" , dataType: "string" },
{ dataKey: "CI_AREA_CODE" , headerText: "Area Code" , dataType: "string" },
{ dataKey: "CI_STATUS" , headerText: "Status" , dataType: "string" , width: 50, showFilter: false },
{ dataKey: "CI_REVISION_NO" , headerText: "Revision No." , dataType: "number" , dataFormatString: "n0" , width: 60, showFilter: false },
{ dataKey: "CI_LOCKED" , headerText: "Locked" , dataType: "boolean" , visible: false },
]
});
},
error: function (xhr, status, error) {
alert( 'GetCICData - ' + xhr.responseText);
}
});
< head id ="Head1" runat ="server">
< title > Gateway HQ </ title >
< link rel ="shortcut icon" href ="~/Images/Web+bogman+icon-1TR.ico"/>
< link href ="/CSS/Master.css" rel ="stylesheet" type ="text/css" />
< script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type ="text/javascript"></ script >
< script src ="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type ="text/javascript"></ script >
< script src ="js/JScript.js" type ="text/javascript"></ script >
< script src ="js/Master.js" type ="text/javascript"></ script >
< asp : ContentPlaceHolder id ="head" runat ="server">
</ asp : ContentPlaceHolder >