Invoke a function parameter from table cell click

Invoke a function parameter from table cell click

Hi there,

I try to build a function that create a table dynamically using jQuery, the function accept an array of objects as parameter, each object in the array is the data for creating a single row. 

One of the object items in the array is a javascript function that I'd like to invoke when user click a table cell

code is here

Problem is the click event does not work.