-
17 Aug 2012 10:43 AM #21
Hi,
Can anyone provide me an example of how to use XTemplate in Sencha Architect 2.1?
Especially entering "fn."
I am not sure on how to achieve this:
Thanks in Advance.Code:itemTpl: new Ext.XTemplate( '<p>{name}', '<tpl if="age > 17">', '<button>Vote</button>', '</tpl>', '</p>' )
-
18 Aug 2012 5:55 AM #22
I believe I came across a similar issue. The "renderer" property was not available in Architect, for example for a grid column. I added it as a custom property, and then added the XTemplate definition/function name that I required....and it worked/showed up in the right place. Subsequently, the "renderer" property showed up as expected by default (i.e. did not show as a custom property)...but there was apparently some strange behaviour here initially.


Reply With Quote