After a long exhausting search, I have found no answer to my question anywhere. Basically I have dynamically creating a table based on inputs by a user and also inserting a row with only a button after every 4th entry in the table. What I need is for the sorting function to ignore the rows with the button and leave them in place while sorting the rest of the table. Does anyone know if this is even possible?
Share
You don’t – what to do is use DataTables
fnDrawCallbackto insert your fourth row on each draw.DataTableswill always empty the<tbody>element on each draw, so this would be required anyway.