Forum


Hello all,
I'm having problem implementing the "summary footer" to my grid.
Javascript
var lastsel;
$(document).ready(function(){
jQuery("#list").jqGrid({
scrollrows : true,
url:'_getGridApplicationData.php?nd='+new Date().getTime(),
datatype: "json",
colNames:['App. ID','User ID','Created Date','Project Title','Total Amt.<br>Requested','Letter<br>of Intent','LOI Approved', 'Proposal<br>Attached'],
colModel:[
{name:'applicationId',index:'applicationId', width:50, align:"center"},
{name:'userId',index:'userId', width:100},
{name:'createdDate',index:'createdDate', width:90},
{
name:'projectTitle',
index:'projectTitle',
width:180,
align:"left",
formatter: 'showlink',
formatoptions:
{
target:"_new",
baseLinkUrl:'applicationInformationForm.php',
addParam:'&action=view'
}
},
{name:'totalAmountRequested',index:'totalAmountRequested', width:90, align:"right", formatter:'number' },
{
name:'loiAttached',
index:'loiAttached',
align:"center",
width:80,
formatter: 'showlink',
formatoptions:
{
target:"_new",
baseLinkUrl: 'viewAppFile.php',
addParam:'&f=loi'
}
},
{
name:'loiApproved',
index:'loiApproved',
align:"center",
width:90,
editable:true,
edittype:"checkbox",
editoptions:{value:"Yes:No"}
},
{
name:'fileAttached',
index:'fileAttached',
align:"center",
width:80,
formatter: 'showlink',
formatoptions:
{
target:"_new",
baseLinkUrl:'viewAppFile.php',
addParam:'&f=prop'
}
}
],
editurl:"_editAdminGrid.php",
pager: jQuery('#pager'),
rowNum:10,
rowList:[10,20,30],
imgpath:'images',
sortname: 'applicationId',
viewrecords: true,
sortorder: "asc",
height:300,
//cellediting:true,
footerrow:true,
userDataOnFooter:true,
caption: "Grant Applications"
}).navGrid('#pager', { edit:false, add:false, del:false},{height:200, reloadAfterSubmit:true })
});
Any help will be greatly appreciated.
JohnM
It's not who I am underneath, but what I do that defines me.
Most Users Ever Online: 715
Currently Online:
56 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66