Ext JS xtemplate循环嵌套JSON

时间:2021-06-23 19:39:30

I cannot see why the table headers in this view are not generating:

我看不出为什么这个视图中的表头没有生成:

http://jsfiddle.net/Jd6Lh/

http://jsfiddle.net/Jd6Lh/

I thought you declared 'for' to change the context node so from the example provided i would expect the table headers to be output.

我以为你声明'for'来改变上下文节点所以从提供的例子我希望输出表头。

Can you please let me know what i am doing wrong? Am new to Ext JS so just beginning to get my head around it.

你能告诉我我做错了什么吗?我是Ext JS的新手,所以刚刚开始了解它。

1 个解决方案

#1


1  

You're calling the wrong method on the Ext object (Ext.Template) -- try calling Ext.XTemplate() instead.

你在Ext对象(Ext.Template)上调用了错误的方法 - 尝试调用Ext.XTemplate()。

#1


1  

You're calling the wrong method on the Ext object (Ext.Template) -- try calling Ext.XTemplate() instead.

你在Ext对象(Ext.Template)上调用了错误的方法 - 尝试调用Ext.XTemplate()。