Roo/bootstrap/Table.js
authoredward <edward@roojs.com>
Tue, 2 Jan 2018 09:06:59 +0000 (17:06 +0800)
committeredward <edward@roojs.com>
Tue, 2 Jan 2018 09:06:59 +0000 (17:06 +0800)
Roo/bootstrap/Table.js

index 3e60417..734b471 100644 (file)
@@ -223,6 +223,8 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     
     lazyLoad : false,
     
+    previousStore : false,
+    
     getAutoCreate : function()
     {
         var cfg = Roo.apply({}, Roo.bootstrap.Table.superclass.getAutoCreate.call(this));
@@ -714,9 +716,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     onLoad : function()
     {
 //        Roo.log('ds onload');
-        if(!this.lazyLoad){
-            this.clear();
-        }
+        this.clear();
         
         var _this = this;
         var cm = this.cm;