I saw on this thread the solution to the grouping problem when using row template by using jQuery $.proxy
Now i have my grid with MVVM binding. Is it possible to use $.proxy in data-row-template?
Here's a simplified fiddle of my code: http://jsfiddle.net/MhWVn/2/
Now i have my grid with MVVM binding. Is it possible to use $.proxy in data-row-template?
Here's a simplified fiddle of my code: http://jsfiddle.net/MhWVn/2/
4 Answers, 1 is accepted
0
Hi Gonzalo,
Basically the template binding (MVVM) expects ID of the element which contains the template and calling a function from it is not supported. Possible solution in this case is to either get the grid dataSource from the ViewModel directly or create proxy template (advanced). Please check the example below:
Regards,
Vladimir Iliev
Telerik
Basically the template binding (MVVM) expects ID of the element which contains the template and calling a function from it is not supported. Possible solution in this case is to either get the grid dataSource from the ViewModel directly or create proxy template (advanced). Please check the example below:
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gonzalo
Top achievements
Rank 1
answered on 29 May 2014, 01:29 PM
Thanks Vladimir, that worked great!
0
Rommel
Top achievements
Rank 1
answered on 09 Aug 2016, 11:07 PM
I am using the same. But formatting is all messed up. It shows lot of space above header columns. Please let me know why this may be happening.
0
Hello Rommel,
I tried to reproduce the described behavior on our side but to no avail - everything is working as expected. Could you please provide runable example where the issue is reproduced?
Regards,
Vladimir Iliev
Telerik by Progress
I tried to reproduce the described behavior on our side but to no avail - everything is working as expected. Could you please provide runable example where the issue is reproduced?
Regards,
Vladimir Iliev
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.