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
/
GridPanel.js
diff --git
a/src/widgets/grid/GridPanel.js
b/src/widgets/grid/GridPanel.js
index
d99d96c
..
706aa7c
100644
(file)
--- a/
src/widgets/grid/GridPanel.js
+++ b/
src/widgets/grid/GridPanel.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
@@
-656,8
+656,10
@@
function(grid, rowIndex, columnIndex, e) {
s = cs[i];
c = cm.getColumnById(s.id);
if(c){
s = cs[i];
c = cm.getColumnById(s.id);
if(c){
- c.hidden = s.hidden;
- c.width = s.width;
+ cm.setState(i, {
+ hidden: s.hidden,
+ width: s.width
+ });
oldIndex = cm.getIndexById(s.id);
if(oldIndex != i){
cm.moveColumn(oldIndex, i);
oldIndex = cm.getIndexById(s.id);
if(oldIndex != i){
cm.moveColumn(oldIndex, i);