From: Michael Date: Thu, 5 Mar 2015 05:02:07 +0000 (+0800) Subject: Pman.Tab.PersonList.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7638e725665e1f351a216a87e436657217887538 Pman.Tab.PersonList.js --- 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); },