rowCallback + responsive
rowCallback + responsive
Hello,
I'm trying to use rowCallback https://datatables.net/reference/option/rowCallback
and responsive collapsible columns https://datatables.net/extensions/responsive/
at the same time.
The problem is that when a column collapses (because the screen is not wide enough), the displayed value is the original value, not the value that was defined in the fnRowCallback like this:
$('td:eq(1)', nRow).html( '<a href="'+json.url+'" >link</a>' );
Another issue is that you cannot sort on a column filled like this.
Anyone knows how to deal with that?
How do you really add data to your table with a callback (ajax request in my case)?