projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
64d2932
)
Pman.Tab.PersonList.js
author
Alan Knowles
<alan@roojs.com>
Tue, 3 Sep 2019 09:27:27 +0000
(17:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 3 Sep 2019 09:27:27 +0000
(17:27 +0800)
Pman.Tab.PersonList.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.PersonList.js
b/Pman.Tab.PersonList.js
index
34173fa
..
834f48e
100644
(file)
--- a/
Pman.Tab.PersonList.js
+++ b/
Pman.Tab.PersonList.js
@@
-623,6
+623,24
@@
Pman.Tab.PersonList.prototype = {
// width : 150
}, cfg);
},
// width : 150
}, cfg);
},
+
+ c_group_membership : function(cfg) {
+ cfg = cfg || {};
+ return Roo.apply({
+ // id : (this.id + '-name').toLowerCase(),
+ header : "Group Membership",
+ dataIndex : 'member_of_json',
+ 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);
+ },
+
c_company_id_comptype : function(cfg) {
cfg = cfg || {};
return Roo.apply({
c_company_id_comptype : function(cfg) {
cfg = cfg || {};
return Roo.apply({