***IGNORE*** .fnDraw() + bScrollInfinite = Duplicated ResultSet
***IGNORE*** .fnDraw() + bScrollInfinite = Duplicated ResultSet
di4bl0s
Posts: 17Questions: 0Answers: 0
Hi Allan,
Me Again, just wanted to give you a heads-up on a bug creeping in on the above situation,
the .fnDraw() is reloading the last _iDisplayStart,_iDisplayLength as its limits (simular to the bSaveState bug as reported earlier) appending it to the existing dataset, one approach is to delete the last _iDisplayLength records from the table beforehand (would prevent the user from having to rescroll/reload everything again) but only when the method is called from the public fnDraw() method, the alternative is reloading 0,_iDisplayLength (but from an empty table instead of appending). What is your opinion on the different approaches?
Regards Jan
Me Again, just wanted to give you a heads-up on a bug creeping in on the above situation,
the .fnDraw() is reloading the last _iDisplayStart,_iDisplayLength as its limits (simular to the bSaveState bug as reported earlier) appending it to the existing dataset, one approach is to delete the last _iDisplayLength records from the table beforehand (would prevent the user from having to rescroll/reload everything again) but only when the method is called from the public fnDraw() method, the alternative is reloading 0,_iDisplayLength (but from an empty table instead of appending). What is your opinion on the different approaches?
Regards Jan
This discussion has been closed.
Replies
just posting thoughts as I go along...
Regards Jan