projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2460fd9
)
Pman.Tab.PersonList.js
author
Michael
<michael@roojs.com>
Thu, 5 Mar 2015 05:02:07 +0000
(13:02 +0800)
committer
Michael
<michael@roojs.com>
Thu, 5 Mar 2015 05:02:07 +0000
(13:02 +0800)
Pman.Tab.PersonList.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.PersonList.js
b/Pman.Tab.PersonList.js
index
9444ed2
..
19e57c4
100644
(file)
--- a/
Pman.Tab.PersonList.js
+++ b/
Pman.Tab.PersonList.js
@@
-578,7
+578,13
@@
Pman.Tab.PersonList.prototype = {
// id : (this.id + '-name').toLowerCase(),
header : "Name",
dataIndex : 'name',
- sortable : true
+ sortable : true,
+ renderer : function(v,p,r) {
+ if(r.data.active != 1){
+ return String.format('<div style="text-decoration:line-through">{0}</div>', v);
+ }
+ return String.format('{0}', v);
+ }
// width : 150
}, cfg);
},