Using Modal with datatables

Using Modal with datatables

shbrown100shbrown100 Posts: 2Questions: 1Answers: 0

I have a datatable extracted from a sql database. I have a modal box link on one of the td's and it opens a modal box with further information for that piece of data.
My issue is that it works for the first 10 rows, default pagination, and won't open a modal box for any of the other rows for page 2 onwards. It only works for the first 10 rows even if I select display 20.
Anyone have any ideas why this is happening or how to resolve?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954
    Answer ✓

    See this FAQ about events on the second page not working.

    Kevin

  • shbrown100shbrown100 Posts: 2Questions: 1Answers: 0

    Thanks Kevin, that cracked it!

This discussion has been closed.