Dynamicly add new values on top
Dynamicly add new values on top
So yeah, im getting very frustrated, all new values I add to the table dynamicly
[code]$('#table').dataTable().fnAddData(['value']) [/code]
either gets in a random order OR at the bottom.. I want all new values to go on the top of the table.
My table:
[code]$('#table').dataTable({"sPaginationType": "full_numbers","aaSorting": [[ 0, "desc" ]],"bFilter": false, "bInfo": true});[/code]
[code]$('#table').dataTable().fnAddData(['value']) [/code]
either gets in a random order OR at the bottom.. I want all new values to go on the top of the table.
My table:
[code]$('#table').dataTable({"sPaginationType": "full_numbers","aaSorting": [[ 0, "desc" ]],"bFilter": false, "bInfo": true});[/code]
This discussion has been closed.
Replies
Allan