Roo/grid/ColumnModel.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 4 Aug 2010 02:43:08 +0000 (10:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 4 Aug 2010 02:43:08 +0000 (10:43 +0800)
Roo/grid/ColumnModel.js

index 6656f08..f6550ed 100644 (file)
@@ -188,7 +188,7 @@ Roo.extend(Roo.grid.ColumnModel, Roo.util.Observable, {
      */
     getColumnByDataIndex: function(dataIndex){
         var index = this.findColumnIndex(dataIndex);
-        return ci > -1 ? this.his.config[index] : false;
+        return index > -1 ? this.his.config[index] : false;
     },
     
     /**