Basically, I have a kendo Grid (created via .kendoGrid({ .. }) and wondering if there is a way to use data-bind attribute within the template. Or am I limited to using # and $?
Ex:
$('#grid').kendoGrid({
dataSource:myDataSource, // array of observables
rowTemplate: '<tr><td>Test</td><td><span data-bind="visible: isFooVisible, html: foo"></span></td></tr>'
...etc, etc
}
I know that I can equally create the grid via MVVM bind, but there seem to be a lot of unknown 'data-' attributes I'd have to add to the view to configure it properly.
Ex:
$('#grid').kendoGrid({
dataSource:myDataSource, // array of observables
rowTemplate: '<tr><td>Test</td><td><span data-bind="visible: isFooVisible, html: foo"></span></td></tr>'
...etc, etc
}
I know that I can equally create the grid via MVVM bind, but there seem to be a lot of unknown 'data-' attributes I'd have to add to the view to configure it properly.