Hi,
i have a problem with custom my editable popup.
The error is on k-editable, i can't use my template and the browser show me this error:
Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 50-50 [#] in expression [{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }]. http://errors.angularjs.org/1.4.9/$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%2050-50%20%5B%23%5D&p2=%7B%20'mode'%3A%20'popup'%2C%20'template'%3A%20'kendo.template(%24('%23popup_editor').html())'%20%7D
This is the html code:
<div kendo-grid
id="LineGrid"
k-data-source="lineCtrl.linesList"
k-editable="{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }"
k-selectable="'single'"
k-on-save="lineCtrl.OnSaveEventHandler(kendoEvent)"
k-toolbar="['create']"
class="bm_grid">
</div>
This is the template script:
<script type="text/x-kendo-template" id="popup_editor">
<p>Custom editor template</p>
<div class="k-edit-label">
<label for="FirstName">First Name</label>
</div>
</script>
How can i solve it?