Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1c48c11ac0168d9598795641b4fc337a2233289e Fix: Don't modify the displa…
…y array in `-api row().remove()` - it should wait for the next draw This relates to DataTables/DataTablesSrc#269 and is fairly nuanced - it boils down to the fact that the display array should reflect what is shown in the table, and deleting a value from it will cause an index offset. The other option might be to make the element null, as happens with the master, but that would be a change in type and I'm not certain everything could handle that. The array will regenerate on the next draw, so it is properly in sync with what is drawn now. Sync to source repo @1c48c11ac0168d9598795641b4fc337a2233289e
- Loading branch information