Closed GoogleCodeExporter closed 9 years ago
anyone can help me?
Original comment by jeremy.r...@gmail.com
on 21 Feb 2012 at 9:56
Hi,
$grid->setImagesUrl(); defines the images location for up/down arrows, export
images, etc.
For column value, use this:
$grid->updateColumn('field', array(
format => array(
'image',
array(
'border' => '0',
'class' => 'css_class'
'urlPrefix' => 'http://myurl.com/images/'
)
)
));
Original comment by zfdatag...@gmail.com
on 22 Feb 2012 at 2:07
Thanks but it don't work.
I do :
$grid->updateColumn('image',array('search'=>false, 'order'=>false, 'position'
=> 1, 'format'=> array('image',
array(
'border' => '0',
'class' => 'css_class',
'urlPrefix' => 'http://192.168.26.129/images/client/'
)
)));
But the result is :
<img class="css_class" border="0"
urlprefix="http://192.168.26.129/images/client/" src="226.png">
Original comment by jeremy.r...@gmail.com
on 22 Feb 2012 at 4:59
I have modyfi my class as :
http://code.google.com/p/zfdatagrid/source/browse/trunk/library/Bvb/Grid/Formatt
er/Image.php?r=1878
And it work fine.
thank you
Original comment by jeremy.r...@gmail.com
on 22 Feb 2012 at 5:06
Original issue reported on code.google.com by
jeremy.r...@gmail.com
on 19 Feb 2012 at 6:42