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

Load Datatable without serverside processing #9918


User avatar
0
ebenzle created

version 8.1.0 MVC .net Core

This is just to help out others with the same issue. It took me while to find the answer and it wasn't available in the documentation.

I had a few HTML tables built statically and I wanted to apply DataTables to them. However the custom datatables code didn't seem to allow this and always resulted in 'loading...' even though I didn't want to use server side processing for the data. The answer was to use ajax: null

var dataTable = _$attendanceTable.DataTable({ serverSide: false, processing: false, ajax: null });

SettinserverSide: false doesn't seem to work with the asp.net zero version of Datatables.js


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    Thank you @ebenzle