Roo/bootstrap/Table.js
authorAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 06:49:50 +0000 (14:49 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 06:49:50 +0000 (14:49 +0800)
Roo/bootstrap/Table.js

index 81e9d65..3efc902 100644 (file)
@@ -45,7 +45,7 @@ Roo.bootstrap.Table = function(config){
         this.sm.xmodule = this.xmodule || false;
     }
     if (this.cm && typeof(this.cm.config) == 'undefined') {
-        this.colModel = new Roo.grid.ColumnModel(this.cm);
+        this.colModel = Roo.factory(this.cm, Roo.grid);
         this.cm = this.colModel;
         this.cm.xmodule = this.xmodule || false;
     }