Context:
I am using the dataTables jquery library with my asp.net mvc model view. I have an item model containing a list of department models in it. I have a Html.EditorFor() to display the list of department models in the dataTables table.
Problem
Each row has a checkbox that has a click function that will delete the row through an ajax post request. It works great on the first page of datas. But on the other pages, the click emitter isnt set up and thus the ajax request doesn't fire. It only works for the first page of rows on the dataTables UI.
What can I do to fix this?