How do I temporarily disable sorting or sort on value attribute of input element?
How do I temporarily disable sorting or sort on value attribute of input element?
bjorn.paulstrom
Posts: 5Questions: 2Answers: 0
How do i temporarily disable sorting of a table?
I change the contents of some cells when the user click an edit button. I replace the former numeric #value with
<input type="text" value="#value">
but this causes the table to reorder and reset the pagination. I want to disable sorting until the user is done editing the row, alternatively make the sort based on the 'value' attribute of <input>.
/Regards
This discussion has been closed.
Answers
Ok I managed to solve this, see this link:
http://stackoverflow.com/questions/38263446/datatables-temporarily-disable-sorting/38264517#38264517