Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "AspDucos"

Using Zero v13.0.0

I'm unable to enable the default search feature that comes with DataTables out of the box. I have relatively basic initialization with a few options on a rendered HTML table but cannot get the search input box to show. Sorting, Length Menu, and Paging are all working with no .js errors so I know the the table is initializing with the other options specified.
The "ajax" parameter is set to "null" as described in solutions to other similar DataTable issues I've seen.

Setting "searching: true" seems to be the recommended solution for others but is not working for me.

$('#Team_Active_Projects').DataTable({
    serverSide: false,
    processing: false,
    ajax: null,
    ordering: true,
    autoWidth: true,
    responsive: false,
    searching: true,
    layout: {
        topEnd: {
            search: {
                placeholder: 'Search here...'
            }
        }
    },
    paging: true,
    pageLength: 20,
    lengthMenu: [10, 20, 50, 75, 100]
});

Any ideas on how to enable default search and get the search box to show?

Showing 1 to 1 of 1 entries