Excell link in Yii Framework integration

Hi,

Is it possible to add a link excell to a grid row? I checked some docs but i did not find any help.

Any advice.

Thanks in advance.

You may set any needed exCell type to any grid cell:

<cell type="link">link^www.url.net</cell>

Hi sematik,

Here’s my code in controller:

$grid = new GridConnector(Prueba::model(), "PHPYii"); $grid->configure("-", "prueba_id", "nombre_prueba, duracion, activo"); $grid->render();

Where should i place your code? I know how to do that but in Yii is not the same way.

Thanks.

You may try to set the “type” attribute of a cell using the set_cell_attribute method:
http://docs.dhtmlx.com/doku.php?id=dhtmlxconnector:dataitem_object_dhtmlxgrid#set_cell_attribute
try to call it from beforeRender event:
http://docs.dhtmlx.com/doku.php?id=dhtmlxconnector:beforerender_event