shymonk/django-datatable

want to handle click event on td element

nerdyator opened this issue · 1 comments

how can i write a click event for td element.
or do i need to inject it in code deliver by django-server, if yes then how?

not sure if this is what you mean but...

   $("#table").on("click", "td", function() {
       alert($( this ).text());
   });