I have a very large data set displayed with angular-datatables, and am trying to enable server-side pagination with the datatables plugin in my angular component. The API call is to an ASP.NET core service that I am also writing
I cannot seem to find much documentation on how to go about this at all, and I'm relatively new to the datatables plugin.
My API GET declaration:
public async Task<IActionResult> GetOperations(
int pageIndex = 0, int pageSize = 50, string query = null)
This uses pageIndex and pageSize to call my repository pagination logic.
My datatable component declaration is the same as is detailed in the angular-datables documentation angular way: https://l-lin.github.io/angular-datatables/#/basic/angular-way
Should I be using the AJAX way? Is there a way to make this work nicely in angular? If so do I need anything specific to be done in the API Controller that would help?
I'm also not entirely sold on the angular-datatables ui component, if you know of something that may work better for large dataset displaying and editing, feel free to recommend it.