Commit 3136a339 authored by Bharat R's avatar Bharat R 👀
Browse files

Wip: #175

parent 69ffcde7
......@@ -374,6 +374,7 @@ Each template receives these variables:
options.columns
var cols = options.columns.length ? filtered_cols : meta.columns
var form_id = idcount, img
var namespace = options.namespace ? options.namespace + ':' : ''
if (options.rowTemplate) {
_.each(data, function(row, rowIndex) { %>
<%= typeof options.rowTemplate == 'function' ? options.rowTemplate({row: row, index: rowIndex, data: data}) : _.template(options.rowTemplate)({row: row, data: data, index: rowIndex}) %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment