projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0b815
)
Roo/bootstrap/Table.js
author
Edward
<edward@roojs.com>
Thu, 10 Jul 2014 04:45:51 +0000
(12:45 +0800)
committer
Edward
<edward@roojs.com>
Thu, 10 Jul 2014 04:45:51 +0000
(12:45 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
070e616
..
3cd975c
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-213,8
+213,13
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
for(var i = 0, len = cm.getColumnCount(); i < len; i++){
cls = 'glyphicon';
+
config = cm.config[i];
+ if(typeof(config.dataIndex) != 'undefined'){
+ cls += ' ' + config.dataIndex;
+ }
+
if(typeof(config.sortable) != 'undefined' && config.sortable){
cls += ' sortable';
}