From 7638e725665e1f351a216a87e436657217887538 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 5 Mar 2015 13:02:07 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 9444ed24..19e57c4d 100644 --- 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('
{0}
', v); + } + return String.format('{0}', v); + } // width : 150 }, cfg); }, -- 2.39.2