Please use 'formatter' function to define a hyperlink column.
<script>
function formatDetail(value,row){
var href = 'get_details.php?userid='+row.id;
return '<a target="_blank" href="' + href + '">View Detail</a>';
}
</script>
<th field ="detail" width = "120" formatter="formatDetail">View Details</th>