How do I redraw the table and "fill in the gaps" after I delete a row (using pagination)?
How do I redraw the table and "fill in the gaps" after I delete a row (using pagination)?
totallyplandom
Posts: 27Questions: 1Answers: 1
Hi All,
I need my pagination, etc to update properly when I delete a row. As it stands, if I use fnDeleteRow(id), it will delete the row but then the page from which the row was deleted is always off by one -- even when I page back and forth. Is there any way to force this to behave or must I use "scrolling" or some other mechanism. Keep in mind, I don't need to grab any new data from the server, I simply need the table to "close the gap" so to speak.
Best
I need my pagination, etc to update properly when I delete a row. As it stands, if I use fnDeleteRow(id), it will delete the row but then the page from which the row was deleted is always off by one -- even when I page back and forth. Is there any way to force this to behave or must I use "scrolling" or some other mechanism. Keep in mind, I don't need to grab any new data from the server, I simply need the table to "close the gap" so to speak.
Best
This discussion has been closed.