开发者

ExtJS XTemplate and empty JSON parsing

开发者 https://www.devze.com 2023-01-18 22:12 出处:网络
How do you determine that a 开发者_JAVA技巧JSON object is empty in a XTemplate? I\'ve tried <tpl if=\"myObject != {}\">

How do you determine that a 开发者_JAVA技巧JSON object is empty in a XTemplate? I've tried

<tpl if="myObject != {}">
<tpl if="myObject">
<tpl if="myObject != undefined">

etc, but can't seem to find the right way to detect an empty object. Thanks.


<tpl if="!Ext.isEmpty(myObject)">
0

精彩评论

暂无评论...
验证码 换一张
取 消