I've found a bug in the latest release of Kendo UI for the grid.
Given a grid definition like:
Will not work correctly. I've traced the problem to the 'parseOptions' function where it calls:
This method ALWAYS returns true because the value of 'option' is always 'rowTemplate'. I believe the fix is to change this code to:
Which will correctly indicate if the value supplied for the 'data-row-template' attribute is an inline template, or the ID of script element that contains a template.
Please let me know when a fix is available. thanks.
Given a grid definition like:
<div data-role="grid" data-row-template="#= data.something #"></div>Will not work correctly. I've traced the problem to the 'parseOptions' function where it calls:
if (templateRegExp.test(option)) {This method ALWAYS returns true because the value of 'option' is always 'rowTemplate'. I believe the fix is to change this code to:
if (templateRegExp.test(value)) {Which will correctly indicate if the value supplied for the 'data-row-template' attribute is an inline template, or the ID of script element that contains a template.
Please let me know when a fix is available. thanks.