Ignore:
Timestamp:
07/10/08 21:53:57 (15 years ago)
Author:
ramonb
Message:

job_monarch/templates/header.tpl:

  • load Grid with paging limits

job_monarch/jobstore.php:

  • sort jobs
  • only return jobs within Ext's paging start/limit

job_monarch/js/jobgrid.js:

  • add paging toolbar to Grid
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/js/jobgrid.js

    r536 r537  
    3939        {name: 'runningtime', type: 'string', mapping: 'runningtime'}
    4040      ]),
    41       sortInfo:{field: 'jid', direction: "ASC"}
     41      sortInfo: {field: 'jid', direction: "ASC"},
     42      remoteSort: true
    4243    });
    4344   
     
    143144      enableColLock:false,
    144145      clicksToEdit:1,
    145       selModel: new Ext.grid.RowSelectionModel({singleSelect:false})
     146      selModel: new Ext.grid.RowSelectionModel({singleSelect:false}),
     147      bbar: new Ext.PagingToolbar({
     148                pageSize: 30,
     149                store: JobsDataStore,
     150                displayInfo: true
     151            })
    146152    });
    147153
     
    157163    });
    158164}
    159   //JobProxy.on('beforeload', function(p, params) {
    160   //      params.c = "GINA Cluster";
    161   //  });
    162   //debug(); 
    163   //JobsDataStore.load();
    164   //JobListingWindow.show();
Note: See TracChangeset for help on using the changeset viewer.