Updating data-sort attributes doesn't preserve sorting

Updating data-sort attributes doesn't preserve sorting

carrrcarrr Posts: 3Questions: 3Answers: 0

We're using DataTables data attributes in <td> elements to help with sorting and filtering, and we also have a need to allowing editing within the associated cells. When updating the cell, we are also updating the data attribute values, but column sorting is not accurate after the update. Is there a better way to do this?

Here's a sample:

http://codepen.io/taykahike/pen/vNjLar

This discussion has been closed.