daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery("#paygrid").jqGrid({
  2. url: url+'Payment/paymentList',
  3. datatype: "xml",
  4. colNames:["Name","Receiced Amount","Total Amount","Status","Mode","Id"],
  5. colModel:[
  6.     {name:"serviceProviderName",index:"serviceProviderName", width:180, align:"center",xmlmap:"serviceProviderName",formatter: 'showlink',
  7.                                formatoptions: { baseLinkUrl: 'paymentdetail.html', idName: 'paymentId'}
  8.                            },
  9.     {name:"recievedAmount",index:"recievedAmount", width:140, align:"center",xmlmap:"recievedAmount",search: false},
  10.     {name:"totalAmount",index:"totalAmount", width:140, align:"center",xmlmap:"totalAmount",search: false},
  11.     {name:"status",index:"status", width:70, align:"center",xmlmap:"status"},
  12.     {name:"paymentType",index:"paymentType", width:100, align:"center",xmlmap:"paymentType",search: false},
  13.     {name:"paymentId"  ,index:"paymentId", width:200, key: true, hidden:"true", align:"center",xmlmap:"paymentId"}
  14.  
  15. ],
  16. height:250,
  17. rowNum:100,
  18. loadonce: true,
  19. viewrecords: true,
  20. gridview:true,
  21. xmlReader: {
  22.         root: "paymentList",
  23.         row: "payment",
  24.         repeatitems: false
  25. },
  26. toolbar: [true,"top"],
  27. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top