Hi. The following code does not work and i don’t know why. The expression for column visibility is not working.
Help!!!!!
GridView Column
array(
'name'=>'count',
'visible'=>'$data->count>0?true:false'
),
Hi. The following code does not work and i don’t know why. The expression for column visibility is not working.
Help!!!!!
GridView Column
array(
'name'=>'count',
'visible'=>'$data->count>0?true:false'
),
[size=2]The[/size][size=2] column "visible" property does not expect an expression, h[/size][size=2]ere is a tip on how it can be used - [/size]http://www.yiiframework.com/forum/index.php/topic/25909-
[url="http://www.yiiframework.com/forum/index.php/topic/25909-"]
[/url]
Thank you.