show link

hello,



mygrid.setColTypes(“link,ed”);



try to use Click here^javascript:doSome()^_self instead





wher i will add this to in my code





<?php     $res=mysql_connect(“localhost”,“root”,"");

    mysql_select_db(“kanibrainnew1”);

    require_once("…/dhtmlxConnector_php/codebase/grid_connector.php");

    $grid = new GridConnector($res);

    $grid->dynamic_loading(100);



$grid->render_sql(“select * from shot,shotTaskArtist where shotTaskArtist.projID = shot.projID and shot.projID=‘om’ and shotTaskArtist.shotID = shot.shotID”,“shotID”,“shotID,shotStatus,taskID,TaskREF,task_note,mandays,userID,taskStatus,startDate,endDate,priority,naxt_sub,last_sub,actualMandays,supervisorName”);





?>













thid id my html file

















please reply me where i will add one column of link there and where .



$grid->dynamic_loading(100);
//next is added to add custom formatting
function my_format($data){
$value = $data->get_value(“shotID”);
$new_value = “Click me^javascript:doSome(”+shotID+")^_self";
$data->set_value(“shotID”,$new_value);
}
$grid->event->attach(“beforeRender”,“my_format”);