projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e5da86
)
Roo/bootstrap/panel/Grid.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Jul 2017 03:00:13 +0000
(11:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Jul 2017 03:00:13 +0000
(11:00 +0800)
Roo/bootstrap/panel/Grid.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/panel/Grid.js
b/Roo/bootstrap/panel/Grid.js
index
4473e6a
..
f16392a
100644
(file)
--- a/
Roo/bootstrap/panel/Grid.js
+++ b/
Roo/bootstrap/panel/Grid.js
@@
-46,8
+46,7
@@
Roo.bootstrap.panel.Grid = function(config){
this.grid = config.grid;
this.grid.getGridEl().replaceClass("x-layout-inactive-content", "x-layout-component-panel");
this.grid = config.grid;
this.grid.getGridEl().replaceClass("x-layout-inactive-content", "x-layout-component-panel");
- this.on('resize', this.onResize, this);
-
+
};
Roo.extend(Roo.bootstrap.panel.Grid, Roo.bootstrap.panel.Content, {
};
Roo.extend(Roo.bootstrap.panel.Grid, Roo.bootstrap.panel.Content, {
@@
-68,14
+67,14
@@
Roo.extend(Roo.bootstrap.panel.Grid, Roo.bootstrap.panel.Content, {
var grid = this.grid;
var size = this.adjustForComponents(width, height);
grid.getGridEl().setSize(size.width, size.height);
var grid = this.grid;
var size = this.adjustForComponents(width, height);
grid.getGridEl().setSize(size.width, size.height);
-
+ var thd = grid.getGridEl().select('thead');
+ var tbd = grid.getGridEl().select('tbody');
grid.autoSize();
}
},
onResize : function(pan, w, h)
{
grid.autoSize();
}
},
onResize : function(pan, w, h)
{
- var thd = grid.getGridEl().select('thead');
- var tbd = grid.getGridEl().select('tbody');
+
},
},