AngularJS + DataTables + Server-Side Processing
AngularJS + DataTables + Server-Side Processing
Hello,
Im building an app with AngularJS and all grids has been created with DataTable plugin, so in an specific table i have a form that works as a filter of DataTable, this form will be proccesed in AngularJS method and make a Ajax Call to an propietary API with promise and rebuild the dataObject, this service particulary provide pagination and sorting mechanisms, so paging and sorting fields are different that DataTable expects and i have not change the propietary API, so the problem is, I can't provide and URL to ajax DataTable can handle because in angularJS have a mechanism to build a validation and invoke the service in the right way and response are not in dataTable format... there is a way that only gives to DataTable plugin my response formatted how DataTable expects and do not configure to invoke in ajax and build all pagination ?