Using jQuery's ingrid on dynamic tables

hey folks,
i been looking for a while for something like “jQuery ingrid”, now example there for server side scripting is advance for me. so assuming the current format i have this. how can i apply ingrind on this

print("<tr bgcolor=#ffffff onMouseOver=this.bgColor='#f58428' onMouseOut=this.bgColor='#ffffff' onClick=location.href='../CheckResult.php?id=$values[8]&Type=View'><td><font >$values[0]</font></td><td>$values[4]</td><td>$values[1]</td><td>$values[7]</td><td>$values[2]</td><td>$values[6]</td><td>$values[3]</td></tr>");

though its my code