-
21 Jul 2012 9:50 AM #11
-
13 Aug 2012 6:35 PM #12
aconran,
where is in SA 2 one can put Xtemplate member functions?
for example in Panel's tpl
<h2>Text</h2>
<div>
{[this.highlightSearchQueryWords(values.text)]}
</div>
-
13 Aug 2012 7:44 PM #13
In Sencha Architect 2.1, templates become their own node. You can add functions to the template and they will become member functions.
Aaron Conran
@aconran
Sencha Architect Development Team
-
13 Aug 2012 9:28 PM #14
-
14 Aug 2012 10:30 AM #15
Aaron Conran
@aconran
Sencha Architect Development Team
-
14 Aug 2012 10:48 AM #16
awesome, thanks Aaron!
-
14 Aug 2012 10:56 AM #17
-
14 Aug 2012 11:14 AM #18
http://docs.sencha.com/architect/2/#!/guide/changelog
We've tested lots of projects in the upgrade process without problems.Aaron Conran
@aconran
Sencha Architect Development Team
-
16 Aug 2012 11:36 PM #19
I am using Architect 2.1 and am having real difficulties defining an XTemplate still...I hope it is a user issue! There is no place to enter an XTemplate definition, e.g. to apply formatting to a grid column. I can add definitions, or Functions....neither of them populate the first config property of the XTemplate in code view (which is where the formatting would go). Any help appreciated
-
17 Aug 2012 12:05 AM #20
I previously asked how to apply XTemplates to grid columns in Architect 2.1. I have now done this by adding a custom property of renderer...works OK. This is a very standard field though, not sure why it needs to be added in this manner



Reply With Quote