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

How to use fnStandingRedraw() correctly?

$
0
0
Hi,
I'm trying to add rows to my table and want to keep current position. I have read about the plugin that helps to do it, but I can't make it work.

table.fnAddData([
		"data1",
                "data2",
		"data3",
		"data4",
		"data5"
]);
table.fnStandingRedraw();

If I understand correctly after I call fnAddData the fnDraw() function is automatically called so my current position gets lost.
What is the right way to use this plugin in such cases?

Viewing all articles
Browse latest Browse all 82133

Trending Articles



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