diff --git a/static/plugin_dbui/src/gridfilter.js b/static/plugin_dbui/src/gridfilter.js
index ee78fc9759b933dfc85cd5bc3bb6abcd6049ba6e..c3de8b083b0ff6fe49a46948f2a32874dea72723 100644
--- a/static/plugin_dbui/src/gridfilter.js
+++ b/static/plugin_dbui/src/gridfilter.js
@@ -137,7 +137,9 @@ App.grid.GridFilter = Ext.extend(Ext.form.FieldSet, {
         }
         
         // reset the page size to the default value
-        this.pagingToolbar.pageSize = 10;
+        if (this.pagingToolbar) {
+            this.pagingToolbar.pageSize = 10;    
+        }
         
         // update the store
         this.updateStore();