git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git]
/
src
/
widgets
/
grid
/
ColumnModel.js
diff --git
a/src/widgets/grid/ColumnModel.js
b/src/widgets/grid/ColumnModel.js
index
fc01a43
..
0f6bafb
100644
(file)
--- a/
src/widgets/grid/ColumnModel.js
+++ b/
src/widgets/grid/ColumnModel.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.2.
1
+ * Ext JS Library 3.2.
2
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-601,6
+601,14
@@
myGrid.getColumnModel().setHidden(0, true); // hide column 0 (0 = the first colu
}
}
this.purgeListeners();
}
}
this.purgeListeners();
+ },
+
+ /**
+ * @private
+ * Setup any saved state for the column, ensures that defaults are applied.
+ */
+ setState : function(col, state){
+ Ext.applyIf(this.config[col], state);
}
});
}
});