PDA

View Full Version : IF condition inside a GXT XTemplate



madhu_g
6 Jan 2010, 1:31 AM
I am trying to add an if condition in a XTemplate.I am using the below code for adding a condition.

<tpl if=\"{[xindex]} == \'1\'\">Hello</tpl>

this doesn't work. Am i missing any thing here?

Arno.Nyhm
7 Jan 2010, 4:55 AM
did you read this?
http://www.extjs.com/forum/showthread.php?t=68336&highlight=xtemplate