Inserting rows in middle of table
Inserting rows in middle of table
I am attempting to insert a row in the middle of my datatable, utilizing the first column as the sort order - eventually i would like to hide this column. It appears to work initially; however subsequent inserts (or deletes) reveal (I suspect) that the underlying cache hasn't in fact been updated, since the rows no longer appear in the correct order. I am obviously missing something but have been unable to fix it myself.
I have an example here: http://live.datatables.net/jekugolu/1/edit
Answers
Maybe this is not possible?
It does appear to work, but if you try to delete a row after adding, the added rows go back to the bottom.
Here is the pertinent code code from the above live site: