django-datatable icon indicating copy to clipboard operation
django-datatable copied to clipboard

want to handle click event on td element

Open nerdyator opened this issue 9 years ago • 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?

nerdyator avatar Jun 23 '15 11:06 nerdyator

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

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

mmingle avatar Mar 10 '16 22:03 mmingle