请问怎么在field里面进行判断
- 
[quote author=mrshelly link=topic=17462.msg31685#msg31685 date=1452072605] 
 <button icon="V.gif" attrs="{'invisible': [('xxxxx', '!=', 2)]}"/>
 <button icon="X.gif" attrs="{'invisible': [('xxxxx', '!=', 0)]}"/>
 [/quote]
 这种方法会将“√”和“×”分别显示在两列吧? 效果应该是像下面这样的
 city_name city_code ....
 --------------------------------------
 √ name1 code1
 √ name2 code2
 × name3 code3
 √ name4 code4
 × name5 code5
 ...............
 有办法将√和×显示在同一列吗?
- 
[quote author=iooop link=topic=17462.msg31695#msg31695 date=1452164574] 
 [quote author=mrshelly link=topic=17462.msg31685#msg31685 date=1452072605]
 <button icon="V.gif" attrs="{'invisible': [('xxxxx', '!=', 2)]}"/>
 <button icon="X.gif" attrs="{'invisible': [('xxxxx', '!=', 0)]}"/>
 [/quote]
 这种方法会将“√”和“×”分别显示在两列吧? 效果应该是像下面这样的
 city_name city_code ....
 --------------------------------------
 √ name1 code1
 √ name2 code2
 × name3 code3
 √ name4 code4
 × name5 code5
 ...............
 有办法将√和×显示在同一列吗?
 [/quote]
 没错,是显示在两列了,怎么显示在一列呢??


