Closed GoogleCodeExporter closed 9 years ago
Hello,
You can use Extra Columns. Example:
$edit = new Bvb_Grid_Extra_Column();
$edit->setPosition('left')
->setName('extra_crud')
->setDecorator($this->view->baseUrl() . "/controller/action/id/{{id}}");
$grid->addExtraColumns($edit);
Note:
baseUrl() is my helper to return base url.
IM
Original comment by ivomonte...@gmail.com
on 1 Feb 2012 at 9:35
That's fine.
Original comment by 9km...@googlemail.com
on 3 Feb 2012 at 7:57
Original comment by ivomonte...@gmail.com
on 18 Feb 2012 at 3:05
Hello,
I want a link in my grid so I tried this code :
$addSon = new Bvb_Grid_Extra_Column();
$addSon ->setPosition('right')
->setName('ajout de fils')
->setDecorator($this->view->baseUrl() . "/admin/ajout-societe/idS/{{idS}}");
$grid->addExtraColumn($addSon);
but I'm getting a weird result, in my grid I have text instead of a HyperLink ..
did I miss something ??
Original comment by belha...@gmail.com
on 23 Sep 2012 at 11:36
If you're seeing HTML in your grid try $addSon->setEscape(false)
Original comment by squarebr...@gmail.com
on 24 Sep 2012 at 1:39
Original issue reported on code.google.com by
9km...@googlemail.com
on 31 Jan 2012 at 4:47