projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a21fef
)
Roo/grid/ColumnModel.js
author
Alan Knowles
<alan@roojs.com>
Fri, 9 Jul 2021 05:48:22 +0000
(13:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 9 Jul 2021 05:48:22 +0000
(13:48 +0800)
Roo/grid/ColumnModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/ColumnModel.js
b/Roo/grid/ColumnModel.js
index
8a7345f
..
5457280
100644
(file)
--- a/
Roo/grid/ColumnModel.js
+++ b/
Roo/grid/ColumnModel.js
@@
-523,6
+523,8
@@
Roo.extend(Roo.grid.ColumnModel, Roo.util.Observable, {
{
var i = this.config.length;
+ this.config[i] = c;
+
if(typeof c.dataIndex == "undefined"){
c.dataIndex = i;
}