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