Hi Radoslav's,
Your suggested solution work as non data binding solution.
As kendo is MVVM framework.
Rule of MVVM framework.
1. viewModel can not access the view directly.
2. View can not access the Model directly.
So in our project we are not accessing the view in the viewModel.
means we are not accessing any jquery object in the viewModel
example :
dataBound: function(e) {
$("th[role='columnheader']").on("click", function(ev){alert("clicked");});
},
Please suggest solution as per the rule of MVVM framework.
Best Regards,
Nilesh Padbidri
Your suggested solution work as non data binding solution.
As kendo is MVVM framework.
Rule of MVVM framework.
1. viewModel can not access the view directly.
2. View can not access the Model directly.
So in our project we are not accessing the view in the viewModel.
means we are not accessing any jquery object in the viewModel
example :
dataBound: function(e) {
$("th[role='columnheader']").on("click", function(ev){alert("clicked");});
},
Please suggest solution as per the rule of MVVM framework.
Best Regards,
Nilesh Padbidri









