You can use query for this function. Write a jquery event as,
$(document).ready(function () {
$("tr.test").click(function () {
var values = $(this).children('td').map(function () {
return this.innerHTML;
}).toArray();
//All the td values in each column will be stored in the array of values. If you want to check add an alert statement,like alert(values); to know the numbers. Please note that the values start as values[1] and not from values[0] in regular arrays.
});
});
//Your dynamic row goes here.