fnDraw source

fnDraw source

aruseniaruseni Posts: 5Questions: 1Answers: 0

Hi Allan!

I’ve got an idea on a possible modernization. You could modify settings object somehow in paginate/search/order functions (that fire _fnDraw callback) to contain info about what caused the draw.

This way, it would be easier to write a custom data get function that sends different parameters to the server depending on what user action has caused a table redraw (like, only adding some special parameter if a search has been applied, but not adding it if the user has switched to a different page).

This discussion has been closed.