Sorting Not Working on Dynamically Added Rows
Sorting Not Working on Dynamically Added Rows

Hi all,
Link to test case: [Not available currently – can provide if needed]
Debugger code (debug.datatables.net): ejipov
Error messages shown: No specific error, just unexpected behavior
Description of problem:
I’m using DataTables with jQuery to show a user list. It initializes fine and sorting works on load. But when I add new rows dynamically using row.add().draw(), those new rows don’t respond to column sorting like the original ones do.
I’ve double-checked that the added rows follow the same structure, and I’m calling .draw() after adding, but no luck. Anyone faced something similar?
Thanks in advance!
Replies
It appears to work no problem here: https://live.datatables.net/yuyucuzu/1/edit .
Yes please!
Allan