window.footerGenerator = function() { const count = this.layout.allRows.filter((x) => x.data.type === "product").length; const statistic = summeryTpl.replace('%s', ' ' + count + ' '); return [{children: statistic, className: "text-dark"}, "flex", "pager"]; } window.renderCell = function(result, {col, row}) { if(col.name === 'name') { if(row.data.postponed) result[result.length] = {html:'' + langPostponed + '', className:'flex items-end w-full', style:{flexDirection:"column"}}; return result; } if(col.name === 'budget') { result[0] = {html: '