[ { "title" : MWF.xApplication.Attendance.LP.permission.role, "headStyles" : "normalThNode", "contentStyles" : "normalTdNode", "item" : "function(data){ return data.adminLevel == 'DEPT' ? MWF.xApplication.Attendance.LP.permission.roleSelectText[1] : MWF.xApplication.Attendance.LP.permission.roleSelectText[0] }", "name" : "adminLevel", "width" : "30%" }, { "title" : MWF.xApplication.Attendance.LP.permission.personName, "headStyles" : "normalThNode", "contentStyles" : "normalTdNode", "item" : "function(d){ return (d.adminName || '').split('@')[0] }", "name" : "adminName", "width" : "30%" }, { "title" : MWF.xApplication.Attendance.LP.permission.unit, "headStyles" : "normalThNode", "contentStyles" : "normalTdNode", "item" : "function(d){ return (d.unitName || '').split('@')[0] }", "name" : "unitName", "width" : "30%" }, { "access" : "admin", "title" : MWF.xApplication.Attendance.LP.action, "headStyles" : "normalThNode", "contentStyles" : "normalTdNode", "item" : "actions", "name" : "actions", "width" : "10%", "sub" : [{ "title" : MWF.xApplication.Attendance.LP.delete, "action" : "remove", "fonticon": "o2icon-icon_delete", // "icon": "delete.png", "styles" : "documentActionNode", "overStyles" : "documentActionNode_over", "downStyles" : "documentActionNode_down" }] } ]