I know the whole table is stored in an array by the script. What happens if I change the data of a cell without using the provided functions. I wonder how datatables handles it, maybe you can explain it to me Allan, would much appreciate it. I got some examples:
1. I change some data in a cell using jquery functions. Lets say i have a list in a cell and i add another with .append(), will datatables realize the change or do i have to use the update function for the cell? If so, i would lose the ease of jquerys functions like append coz i would retrieve the data with fnGetData as a string and would have to manipulate it. So how should it be done?
2. I delete something out of a cell, lets say i just remove one out of the list. It works just fine using jquery.remove(), but do I have to update the datatables array? will the data come back if the table redraws and i did not update the array?
So just how excactly does it work, is the table redrawn every time from the array (I guess not because when i remove a whole row with .remove() then its gone and doesnt come back, though the count goes wrong) or is the array just a helper to rearrange the table?
Please explain, I'd like to understand how it works so I can produce clean code.