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.3.1 - Released 11/30/2010
[extjs.git]
/
docs
/
source
/
GridPanel.html
diff --git
a/docs/source/GridPanel.html
b/docs/source/GridPanel.html
index
d12cba1
..
27d8872
100644
(file)
--- a/
docs/source/GridPanel.html
+++ b/
docs/source/GridPanel.html
@@
-7,10
+7,10
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.3.
0
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.3.
1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
<div id="cls-Ext.grid.GridPanel"></div>/**
* @class Ext.grid.GridPanel
*/
<div id="cls-Ext.grid.GridPanel"></div>/**
* @class Ext.grid.GridPanel
@@
-673,20
+673,21
@@
function(grid, rowIndex, columnIndex, e) {
store = this.store,
s,
c,
store = this.store,
s,
c,
-
old
Index;
+
col
Index;
if(cs){
for(var i = 0, len = cs.length; i < len; i++){
s = cs[i];
c = cm.getColumnById(s.id);
if(c){
if(cs){
for(var i = 0, len = cs.length; i < len; i++){
s = cs[i];
c = cm.getColumnById(s.id);
if(c){
- cm.setState(s.id, {
+ colIndex = cm.getIndexById(s.id);
+ cm.setState(colIndex, {
hidden: s.hidden,
hidden: s.hidden,
- width: s.width
+ width: s.width,
+ sortable: s.sortable
});
});
- oldIndex = cm.getIndexById(s.id);
- if(oldIndex != i){
- cm.moveColumn(oldIndex, i);
+ if(colIndex != i){
+ cm.moveColumn(colIndex, i);
}
}
}
}
}
}
@@
-726,6
+727,9
@@
function(grid, rowIndex, columnIndex, e) {
if(c.hidden){
o.columns[i].hidden = true;
}
if(c.hidden){
o.columns[i].hidden = true;
}
+ if(c.sortable){
+ o.columns[i].sortable = true;
+ }
}
if(store){
ss = store.getSortState();
}
if(store){
ss = store.getSortState();