Refresh Index when Data is Updated Dynamically
Refresh Index when Data is Updated Dynamically
I have a table that I add values to it periodically based on ajax calls. When the call is made a td's inner html will be replaced with something else. This obviously creates a discrepancy between the cached index and what is in the table. My question is: How can I tell the index to refresh itself based on the new table? Should fnDraw() work? It is not, but I will keep trying if it should. If there is no direct API call, could someone tell me where in the code the index is initialized, and I will create an API call myself.
Thanks,
-O
Thanks,
-O
This discussion has been closed.
Replies
Allan
I will switch from js to fnUpdate, and see if that helps. I have a hunch it will.
Allan, you have replied to me twice in one day. Amazing and much appreciated. Tip of the hat sir.
Thanks,
-O