use conditional request to improve performance

This commit is contained in:
Sebastian Sdorra
2011-02-13 16:31:02 +01:00
parent 74d4ac4722
commit b122b701a6
4 changed files with 114 additions and 7 deletions

View File

@@ -58,7 +58,10 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
initComponent: function(){
var userStore = new Sonia.rest.JsonStore({
url: restUrl + 'users.json',
proxy: new Ext.data.HttpProxy({
url: restUrl + 'users.json',
disableCaching: false
}),
fields: [ 'name', 'displayName', 'mail', 'admin', 'creationDate', 'lastModified', 'type'],
sortInfo: {
field: 'name'