Forum
14:39
03/06/2011
Hi guys im new to jqGrid and just have a quick question about the footer
i have the following table
UOM Type Matrix Quantity Cost_Rate Value
Repetitions 0.00 0.00 0.00 0.00
100% 0.00 0.00 0.00 0.00
XTranslated 0.00 0.00 0.00 0.00
95-99% 0.00 0.00 0.00 0.00
85-94% 0.00 0.00 0.00 0.00
75-84% 0.00 0.00 0.00 0.00
50-74% 0.00 0.00 0.00 0.00
<=50% 0.00 1111.00 0.00 0.00
Totals: 1111.00 0.00 0.00
with the following options
var opts = { autowidth: true, height: 'auto', viewrecords: true, sortorder: "desc", multiselect: false, caption: "Quantity Split", colNames: ['UOM Type', 'Matrix', 'Quantity', 'Cost Rate', 'Value'], colModel: [ { name: 'UOM_Type', align: 'left', editable: false, footervalue: 'Hi' }, { name: 'Matrix', align: 'left', editable: false }, { name: 'Quantity', align: "right", formatter: 'number', editable: true }, { name: 'Cost_Rate', align: "right", formatter: 'number', editable: true }, { name: 'Value', align: "right", formatter: 'number', editable: true } ], altRows: true, footerrow: true, userDataOnFooter: true };
but when i call the function
var y = $("#dialog-QS-table").jqGrid('footerData'); y['UOM_Type'] = "HI"; $("#dialog-QS-table").jqGrid('footerData', y);
it seems to throw an error saying "TypeError Object doesnt support property or method toLowerCase" the grid itself is created but the footer is blank can anyone help please.
Most Users Ever Online: 715
Currently Online:
52 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