Init with ajax and update from websocket
Init with ajax and update from websocket
Hello
I am updating datatables from the response of a websocketconnection. It takes about 5 seconds from the page request before the connection is open, therefore Istart the datatables with an ajax response.
My problem is that the page flicks when fnClearTable(); is invoked the first time. is there a better way to update from json that with fnClearTable() followed by fnAddData ?
Sorry for not linking to a json file... Hope you get my point anyway
http://live.datatables.net/ifES/2/edit
I am updating datatables from the response of a websocketconnection. It takes about 5 seconds from the page request before the connection is open, therefore Istart the datatables with an ajax response.
My problem is that the page flicks when fnClearTable(); is invoked the first time. is there a better way to update from json that with fnClearTable() followed by fnAddData ?
Sorry for not linking to a json file... Hope you get my point anyway
http://live.datatables.net/ifES/2/edit
This discussion has been closed.