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.
Cur
How can I add that condition in tpl. Could some one help me out.
var tpl = new Ext.XTemplate(
"<table><tr><td>Test</td></tr><tr><td>{test}</td></tr></table>"
);