noRecords: { template: "nessun elemento" }
I'd like to do this but with mvvm.
This is my kendo grid:
<div id="a" data-role="grid" data-no-records="templateNoRecords" data-columns="[ { 'title': 'ID', 'field': 'id' ,hidden: true }, { 'title': 'Nome', 'field': 'nome' }, ]" data-bind="source: products.source}"> <script id="templateNoRecords" name="templateNoRecords" type="text/x-kendo-template"> Nessun dato trovato </script> </div>