projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd869b3
)
Roo/bootstrap/Table.js
author
Alan Knowles
<alan@roojs.com>
Fri, 9 Jul 2021 06:30:52 +0000
(14:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 9 Jul 2021 06:30:52 +0000
(14:30 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
d621928
..
fd5ef13
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-1158,6
+1158,12
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
this.mainHead.remove();
this.mainHead = table.createChild(header, this.mainBody, false);
+
+ Roo.each(this.el.select('thead th.sortable', true).elements, function(e){
+ e.on('click', _this.sort, _this);
+ });
+
+
},
onHiddenChange : function(colModel, colIndex, hidden)