[Lada-commits] [PATCH 2 of 2] Erste Ansaätze für Paging. Der Server muss dass nun noch umsetzen

Wald Commits scm-commit at wald.intevation.org
Wed Mar 18 11:20:07 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426675063 -3600
# Node ID 199246596bf748412d716743129f666299391143
# Parent  dce8d67f278dfca3dcade45135b2269b7a949e52
Erste Ansaätze für Paging. Der Server muss dass nun noch umsetzen

diff -r dce8d67f278d -r 199246596bf7 app/store/ProbenList.js
--- a/app/store/ProbenList.js	Wed Mar 18 11:37:10 2015 +0100
+++ b/app/store/ProbenList.js	Wed Mar 18 11:37:43 2015 +0100
@@ -11,5 +11,7 @@
  */
 Ext.define('Lada.store.ProbenList', {
     extend: 'Ext.data.Store',
-    model: 'Lada.model.ProbeList'
+    model: 'Lada.model.ProbeList',
+    pageSize: 5,
+    remoteSort: false 
 });
diff -r dce8d67f278d -r 199246596bf7 app/view/grid/FilterResult.js
--- a/app/view/grid/FilterResult.js	Wed Mar 18 11:37:10 2015 +0100
+++ b/app/view/grid/FilterResult.js	Wed Mar 18 11:37:43 2015 +0100
@@ -39,6 +39,11 @@
                 icon: 'resources/img/svn-update.png',
                 action: 'export'
             }]
+        }, {
+            xtype: 'pagingtoolbar',
+            dock: 'bottom',
+            store: 'ProbenList',
+            displayInfo: true
         }];
         this.columns = [];
         this.callParent(arguments);


More information about the Lada-commits mailing list