Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82012

Reset all datatable content and params (server processing - dynamic content)

$
0
0
Hello,

i m working on a datatable with a content coming from a server. No problem for loading at first, and to get additionnal content after some datatable event (filter...). The problem is that i try to use personal filters, outside the datatable. I already succeed to associate those new information with all datatable parameter thanks to this function:
"fnServerParams": function(aoData){TblServerParams(aoData);}
. I also use
oTable.fnDraw(true);
to send data (personal filter and classic parameter of datatable).
So, the server receive the data. The problem is i want that the datatable reset all lines and all it's params before sending parameters. So, maybe the iDisplayStart parameter will be set to zero. I try everything without success. The fnDraw function seems to send all informations to server. but old lines are always in datatable, and so, the new one are just added after old lines, and the pagination don't refresh (show 20 lines instead of the 30 for instance).

If someone have any idea , thanks

Viewing all articles
Browse latest Browse all 82012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>