Roo/grid/ColumnModel.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 2 Mar 2011 12:02:08 +0000 (20:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 2 Mar 2011 12:02:08 +0000 (20:02 +0800)
Roo/grid/ColumnModel.js

index 87bc823..bb0ea3c 100644 (file)
@@ -344,7 +344,7 @@ Roo.extend(Roo.grid.ColumnModel, Roo.util.Observable, {
      * @return {Number}
      */
     getColumnWidth : function(col){
-        return this.config[col].width || this.defaultWidth;
+        return this.config[col].width * 1 || this.defaultWidth;
     },
 
     /**