projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4804446
)
Roo/bootstrap/Table.js
author
Edward
<edward@roojs.com>
Thu, 10 Jul 2014 05:03:59 +0000
(13:03 +0800)
committer
Edward
<edward@roojs.com>
Thu, 10 Jul 2014 05:03:59 +0000
(13:03 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
5270bad
..
492807c
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-185,10
+185,11
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
return;
}
+ var _this = this;
Roo.log('initEvents with ds!!!!');
Roo.each(this.el.select('thead th.sortable').elements, function(e){
-
Roo.log(e
);
+
e.on('click', _this.store.load()
);
});
// this.maskEl = Roo.DomHelper.append(this.el.select('.TableGrid', true).first(), {tag: "div", cls:"x-dlg-mask"}, true);
// this.maskEl.enableDisplayMode("block");