projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d4f6e
)
Roo/bootstrap/TableBody.js
author
Edward
<edward@roojs.com>
Tue, 29 Apr 2014 04:21:06 +0000
(12:21 +0800)
committer
Edward
<edward@roojs.com>
Tue, 29 Apr 2014 04:21:06 +0000
(12:21 +0800)
Roo/bootstrap/TableBody.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TableBody.js
b/Roo/bootstrap/TableBody.js
index
b9790f1
..
99b47d4
100644
(file)
--- a/
Roo/bootstrap/TableBody.js
+++ b/
Roo/bootstrap/TableBody.js
@@
-57,6
+57,24
@@
Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component, {
}
return cfg;
+ },
+
+ initEvents : function()
+ {
+ if(!this.store){
+ return;
+ }
+
+ this.store = Roo.factory(this.store, Roo.data);
+ this.store.on('load', this.onLoad, this);
+
+ },
+
+ onLoad: function () {
+
+ this.clearTabel();
+
+ this.fireEvent('load', this);
}
});