I don't believe this will work but figured I'd ask it anyway...
When passing data to an XTemplate, can I pass HTML and have that HTML rendered?
For example:
And I want to see:
Hello MikeB...
NOT
Hello <b>MikeB</b>...
When passing data to an XTemplate, can I pass HTML and have that HTML rendered?
For example:
Code:
new Ext.XTemplate("<tpl>Hello {test}...</tpl>").apply({test: '<b>MikeB</b>'})
And I want to see:
Hello MikeB...
NOT
Hello <b>MikeB</b>...
Thanks
Aucun commentaire:
Enregistrer un commentaire