Issue With Pagination
Issue With Pagination
AshutoshDikshit
Posts: 2Questions: 0Answers: 0
I have a datatable in which I am assigning the values by iterating a list which contains my table data. The last column (Actions) of my table contains 2 icons i.e Open & Delete for which the markup I have written is this :
[code]
[/code]
I alert the row values when this icon is clicked. This works perfectly when I am on the first page of the table, as i move to page next page the click doesnt work at all. I tried to display all the records in a single page (i.e. by disabling pagination) and everything worked fine.
something is wrong with the pagination. It would be great if anyone can help me on this
I am using datatables 1.9.4 version
[code]
[/code]
I alert the row values when this icon is clicked. This works perfectly when I am on the first page of the table, as i move to page next page the click doesnt work at all. I tried to display all the records in a single page (i.e. by disabling pagination) and everything worked fine.
something is wrong with the pagination. It would be great if anyone can help me on this
I am using datatables 1.9.4 version
This discussion has been closed.
Replies
[code]
$(document).on("click",".example",function(){
});
[/code]
on() did not work .