Kendo UI:无法将footerTemplate添加到网格中 [英] Kendo UI: Not able to add footerTemplate to grid
问题描述
我正在尝试在footerTemplate中显示字段的计数。
关注是小提琴:
I am trying to display the count of the field in the footerTemplate. Follow is the fiddle:
http ://jsbin.com/ajoyug/8/edit
但是,如果没有footerTemplate,它可以正常工作。但是一旦我添加了footerTemplate,它就会停止工作。
However, without the footerTemplate it works fine. But as soon as I add the footerTemplate, it stops working.
在aggregateResult对象中,我得到count的值。但是,我该如何将它添加到footerTemplate?
Inside the aggregateResult object I am getting the value of count. But then how shall I add it to the footerTemplate?
请帮助我。
谢谢!!
推荐答案
我无法解释为什么它不起作用。但我试过通过其他方式做你的例子并且效果很好。
I could not explain why it's not working. But I have tried doing your example by other way and it works well.
这里是链接。
http://jsbin.com/ajoyug/ 35 /编辑
这篇关于Kendo UI:无法将footerTemplate添加到网格中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!