Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82387

Web API - Server-side processing of large data

$
0
0

Hello folks,
I have been using datatable very efficiently for a long time until I hit by a problem of loading large data into the table.
I am talking about 25K rows loading into datatable on client side. Firstly my web server used to crash due to lack of memory_limit assigned to handle the script (PHP).
Increasing the memory_limit fixed the crashing issue on the server-side, but now it takes enough time to load the data on the client side.
So I had decided to limit the data from the server itself using remote pagination.
That'why I have implemented the ajax processing to fetch the data. I works fine with simple data binding to the table.
But my problem is that I have a reasonable amount of conditions in the PHP code to hide and show control + coloring of the data.
All these are based on the user session and permission on Serverside which cannot be done on the javascript in drawCallback.

I am looking for a solution where I can fill the table rows in html format (after applying all the conditions with PHP code) to the datatable without losing the search, paging functionality.

Any help will be highly appreciated.


Viewing all articles
Browse latest Browse all 82387

Trending Articles