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: 61,723Questions: 1Answers: 10,108 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.