AJAX/ Server side searching after fnRowCallback

AJAX/ Server side searching after fnRowCallback

d0mokund0mokun Posts: 12Questions: 4Answers: 0

Hello all,

I've got an AJAX driven table that pushes values to another script on fnRowCallback. Problem is that I can't then search the returned values.. searching just draws a blank.

What's the best method to allow searching of rows after they've been processed by fnRowCallback?

Thanks,
Dan.

Just for reference:

        "fnRowCallback": function( nRow, data, iDisplayIndex) {
            $.post("../assets/forms/orders/table_grab_order.php", {
                order_number: data.order_number,
                checking_id: data.id,
            }, function(data) {
                $('td:eq(2)', nRow).html( data );
            });

The returned data is a bootstrap button. It builds a dropdown list of all associated order parts by order_number. Order_number is supplied through AJAX on the initial table draw.

This discussion has been closed.