Hi there,
I have the following template defined in the page
<script id="templ" type="text/x-kendo-template">
#var gridID = ceFeature.config.currentGrid#
#console.log(gridID)#
# var columns = $("\\#" + gridID).data("kendoGrid").columns #
#console.log(columns)#
<tr data-uid="#= uid #" role='row' style="outline: 1px solid rgba(0, 0, 0, 0.15);">
#for(properties in columns) {#
# if (properties != 'remove') {#
#if (columns[properties].field == 'Id' || columns[properties].field == 'Hidetype') {#
<td role="gridcell" style="display:none;">#=data[columns[properties].field] #</td>
#}else {#
#if (data[columns[properties].field] != undefined) {#
#if (data[columns[properties].field].typeText == null) {#
<td role="gridcell" data-types= "#= data[columns[properties].field].types #" data-begin="#= data[columns[properties].field].beginOffset #" data-end="#= data[columns[properties].field].endOffset #">#= data[columns[properties].field].val #</td>
#} else {#
<td role="gridcell" data-types= "#= data[columns[properties].field].types #" data-begin="#= data[columns[properties].field].beginOffset #" data-end="#= data[columns[properties].field].endOffset #">#= data[columns[properties].field].typeText #</td>
#}#
#}#
#}#
#}#
#}#
</tr>
</script>
but I keep getting the error
Template.compilekendo.web.js:272b.extend.proxy.b.isFunction.ijquery-1.9.1.min.js:3processTablejsbin.html:319processChildrenjsbin.html:85(anonymous function)jsbin.html:107b.extend.eachjquery-1.9.1.min.js:3b.fn.b.eachjquery-1.9.1.min.js:3processChildren
attaching file for reference
I have the following template defined in the page
<script id="templ" type="text/x-kendo-template">
#var gridID = ceFeature.config.currentGrid#
#console.log(gridID)#
# var columns = $("\\#" + gridID).data("kendoGrid").columns #
#console.log(columns)#
<tr data-uid="#= uid #" role='row' style="outline: 1px solid rgba(0, 0, 0, 0.15);">
#for(properties in columns) {#
# if (properties != 'remove') {#
#if (columns[properties].field == 'Id' || columns[properties].field == 'Hidetype') {#
<td role="gridcell" style="display:none;">#=data[columns[properties].field] #</td>
#}else {#
#if (data[columns[properties].field] != undefined) {#
#if (data[columns[properties].field].typeText == null) {#
<td role="gridcell" data-types= "#= data[columns[properties].field].types #" data-begin="#= data[columns[properties].field].beginOffset #" data-end="#= data[columns[properties].field].endOffset #">#= data[columns[properties].field].val #</td>
#} else {#
<td role="gridcell" data-types= "#= data[columns[properties].field].types #" data-begin="#= data[columns[properties].field].beginOffset #" data-end="#= data[columns[properties].field].endOffset #">#= data[columns[properties].field].typeText #</td>
#}#
#}#
#}#
#}#
#}#
</tr>
</script>
but I keep getting the error
Template.compilekendo.web.js:272b.extend.proxy.b.isFunction.ijquery-1.9.1.min.js:3processTablejsbin.html:319processChildrenjsbin.html:85(anonymous function)jsbin.html:107b.extend.eachjquery-1.9.1.min.js:3b.fn.b.eachjquery-1.9.1.min.js:3processChildren
attaching file for reference