I have a problem currently where there is a complex knockout table that is dynamically altered, and allows pagination, the problem is when we enable pagination the data table removes DOM elements which causes knockout to lose sync and it falls down.
So is there a way to have pagination not add/remove DOM elements and instead just mark them as hidden so the knockout bindings do not get destroyed?
i.e I have 20 rows and 10 rows per page, when I display page one the DOM contains all 20 rows with the first 10 being shown, the last 10 being hidden, then when I go to page 2 first 10 rows are hidden and last 10 rows are now shown, but at all times there are 20 rows in the DOM, just toggled shown or hidden.