Hi
I'm trying to use mvvm and templates to produce a grid with column totals. A fairly simple scenario I think. I can get the grid to render and the column footer to show. However, I no longer have the ability to edit the grid cells (due to the row template that I am using). What can I do to make the rows function as if I was not using the template, and binding the products list to the table instead. Or can I just bind to the table and somehow have a custom footer that I can use to bind to my view-model with calculated totals. BTW I can just use a datasource and "sum" aggregate as I want to do some "math" to produce the total.
I have a jsfiddle of the scenario.
http://jsfiddle.net/darrenarbell/K9tnS/26/
Thanks in advance
Regards
I'm trying to use mvvm and templates to produce a grid with column totals. A fairly simple scenario I think. I can get the grid to render and the column footer to show. However, I no longer have the ability to edit the grid cells (due to the row template that I am using). What can I do to make the rows function as if I was not using the template, and binding the products list to the table instead. Or can I just bind to the table and somehow have a custom footer that I can use to bind to my view-model with calculated totals. BTW I can just use a datasource and "sum" aggregate as I want to do some "math" to produce the total.
I have a jsfiddle of the scenario.
http://jsfiddle.net/darrenarbell/K9tnS/26/
Thanks in advance
Regards