i'd like to do this with MVVM.
<div id="grid"></div><script> $("#grid").kendoGrid({ columns: [{ field: "name" },{ field: "age" }], pageable: true, noRecords: { template: "No data available on current page. Current page is: #=this.dataSource.page()#"}, dataSource: { data: [{name: "John", age: 29}], page: 2, pageSize: 10}});</script>
How i write this (noRecords) in the mvvm?
no-data-records?
data-no-data-records?
or
data-noData-records?