Duplicate pagination controls being rendered upon ajax.reload when having multiple tables

Duplicate pagination controls being rendered upon ajax.reload when having multiple tables

sarahswsarahsw Posts: 1Questions: 1Answers: 0

Hi,

I have a modal containing a datatable (parent table), and when I click on a button inside that datatable, I'm calling a partial view containing another datatable (child table) and I'm putting the partial view in the same modal. The problem occurs when I'm reloading the parent table, the pagination controls are being duplicated. Then reloading it again will yield "invalid json response". But if the child table does not exist in the first place, reloading the parent table works fine. Moreover, I can't even remove the pagination even if setting it to false.

I'm using version 1.10.11. Attached the picture of the problem.

Thank you. Any help would be greatly appreciated.

This discussion has been closed.