行一恒  

2013年8月27日

摘要: 之前学习extjs Xtmeplate受一些书籍的误导,说Xtemplate不支持else ,今天仔细看了官网的示例,才恍然大悟,卧槽!不仅支持if-elseif-else结构 连switch都能够支持,不能不说Xtemplate越来越强大,导致之前写的Xtemplate太过于臃肿,不得不重新修改!var tpl =new Ext.XTemplate('Name: {name}','Kids: ','','{name} is a ','','teenager','','kid 阅读全文
posted @ 2013-08-27 12:15 行一恒 阅读(325) 评论(0) 推荐(0) 编辑