[Answer]-Disable clicking on header elements of django-table2

1👍

So it work, as it is supposed to. You should try to loop over table rows only inside “tbody”.
in jquery it should look like this:

$("body").on("click","tableSelector >tbody >tr", function(){ 
    $("#prod_ver").val($(this).children().eq(1));  
    $("#release_date").val($(this).children().eq(0));
});

Leave a comment