Categories | Question details Back To List | ||
function not working hello, $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"); i m using this code but it gives me "0" in my column and dnt open the the new page . please reply me as soon as possible Answer posted by Alex (support) on Dec 10, 2009 03:03 Hello, probably there should be $new_value = "Click me^javascript:doSome(".$value.")^_self"; instead of $new_value = "Click me^javascript:doSome("+shotID+")^_self"; |