{
"*prop": "footer",
"displayInfo": true,
- "emptyMsg": "No Item found",
- "pageSize": 100,
+ "emptyMsg": "No Metric found",
+ "pageSize": 50,
"xtype": "PagingToolbar",
- "|updateSummary": "function() {\n\r\n var f = this;\r\n new Pman.Request({\r\n url : baseURL + '/Xtuple/Roo/Poitem',\r\n method : 'GET',\r\n params : {\n _roo_office : _this.data.office ? _this.data.office : baseURL.split('/').pop().substr(0,2),\r\n _totals : 1,\r\n poitem_pohead_id : _this.form.findField('pohead_id').getValue()\r\n },\r\n success : function(d) {\n Roo.log(d);\r\n f.displayEl.update(String.format(\r\n \"{0} items | Total : {1} {2}\",\r\n d.data[0].count_item,\r\n _this.form.findField('pohead_curr_id').el.dom.value,\r\n d.data[0].totals\r\n ));\r\n \r\n }\r\n });\r\n\n}\n",
"|xns": "Roo"
},
{
xtype: 'PagingToolbar',
xns: Roo,
displayInfo : true,
- emptyMsg : "No Item found",
- pageSize : 100,
- updateSummary : function() {
- \r
- var f = this;\r
- new Pman.Request({\r
- url : baseURL + '/Xtuple/Roo/Poitem',\r
- method : 'GET',\r
- params : {
- _roo_office : _this.data.office ? _this.data.office : baseURL.split('/').pop().substr(0,2),\r
- _totals : 1,\r
- poitem_pohead_id : _this.form.findField('pohead_id').getValue()\r
- },\r
- success : function(d) {
- Roo.log(d);\r
- f.displayEl.update(String.format(\r
- "{0} items | Total : {1} {2}",\r
- d.data[0].count_item,\r
- _this.form.findField('pohead_curr_id').el.dom.value,\r
- d.data[0].totals\r
- ));\r
- \r
- }\r
- });\r
-
- }
+ emptyMsg : "No Metric found",
+ pageSize : 50
},
colModel : [
{