11 Dec 2012 2:29 AM #1
Unanswered: Adding condition to a tpl
My requirement is to print "No" if the value of "test" is empty string. otherwise i need to print the value of test as it is.
rently it is printing blank if the value of test is empty string. I wanted to print "No" instead.
How can I add that condition in tpl. Could some one help me out.
var tpl = new Ext.XTemplate(
11 Dec 2012 3:19 AM #2
- Join Date
- Dec 2009
- Enschede, The Netherlands
- Vote Rating