window.renderCell = function(result, info) { if(info.col.name == 'name' && result) { const group = info.row.data; let html = ''; if(group.main == '1') html += "" + buildinLang + ""; if(html) result.push({html}); } else if(info.col.name == 'status' && result) { const rowData = info.row.data; if(rowData.status == 'wait') result[0].props.class = 'status-draft'; } else if(info.col.name == 'actions' && result) { const group = info.row.data; if(group.projectModel == 'kanban') { result[0].props.items.map(item => { if(item.icon == 'design') item.hint = kanbanNotice; return item; }); } } return result; };