Mercurial > lada > lada-client
diff app/view/widget/DynamicGrid.js @ 1021:1df6b6210b42 stammdatengrids
WIP First Version of a New Window/Panel combination to edit Ortszuordnungen and Orte
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 04 Feb 2016 16:31:46 +0100 |
parents | 52b02b0225e8 |
children | 981339d774b8 |
line wrap: on
line diff
--- a/app/view/widget/DynamicGrid.js Fri Jan 29 14:51:17 2016 +0100 +++ b/app/view/widget/DynamicGrid.js Thu Feb 04 16:31:46 2016 +0100 @@ -35,11 +35,14 @@ setStore: function(store){ var i18n = Lada.getApplication().bundle; - this.removeDocked(Ext.getCmp('ptbar'), true); this.reconfigure(store); + var ptbar = this.down('pagingtoolbar'); + if (ptbar) { + this.removeDocked(ptbar); + } + this.addDocked([{ xtype: 'pagingtoolbar', - id: 'ptbar', dock: 'bottom', store: store, displayInfo: true