{{#if data}}
{{#cols}} {{/}} {{#rows:r}} {{#cols:c}} {{#if editable && can('edit', this, rows[r].item) && editing == r+'-'+c}} {{else}} {{/if}} {{/}} {{/}}
{{columns && columns[this] && columns[this].header ? columns[this].header : this}}
{{#if rows[r] && rows[r].item}} {{> cellFor(cols[c]) (rows[r].item[this] || rows[r].item) }} {{/if}}
{{/if}}