How to add control into another div?

How to add control into another div?

wizardnet972wizardnet972 Posts: 1Questions: 1Answers: 0

How to add search to custome div?

$('.table').DataTable({
controls: appendTo(body)??????????
});

Answers

  • allanallan Posts: 63,481Questions: 1Answers: 10,467 Site admin

    There is no controls option in DataTables. Instead you would need to do something like:

    $('div.dataTables_filter', table.table().container()).appendTo( ... );
    

    Allan

This discussion has been closed.