</div>
</div>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:80%'>
<table jsId="lfGrid"
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'name', 'code', 'year', 'org', 'currency_type', 'combined_balance']"
requiredFields="['name', 'code', 'year', 'org', 'currency_type']"
query="{id: '*'}"
- defaultCellWidth='"auto"'
fmClass='acqf'
showPaginator='true'
editOnEnter='true'>
'allocation_total'
];
-function getBalanceInfo(rowIndex, item) {
- if(!item) return '';
- return this.grid.store.getValue(item, this.field) || 0;
-}
-
function initPage() {
-
contextOrg = openils.User.user.ws_ou();
var connect = function() {
var pcrud = new openils.PermaCrud();
pcrud.search('acqf',
{ year : year,
- org : fieldmapper.aou.descendantNodeList(contextOrg, true)
- },
- { flesh : 1,
+ org : fieldmapper.aou.descendantNodeList(contextOrg, true) },
+ { streaming : true,
+ limit: lfGrid.displayLimit,
+ offset: lfGrid.displayOffset,
+ flesh : 1,
flesh_fields : {acqf : fundFleshFields},
- streaming : true,
onresponse : function(r, obj) {
if(fund = openils.Util.readResponse(r)) {
fundFleshFields.forEach(function(ff) {