Hi,
I'm implementing server-side processing and it is working very well.
One of the things I haven't yet been able to migrate from the client-side version of my table is a function that built graphs or charts from my data. In client-side, the charts would come from the 5000+ rows, and update upon search. In the server-side version however, only 50 rows are served at each turn, rendering the charts useless as an overview dashboard.
Is there any way I can adapt my idea to SSP? Here's my two possibilities right now:
- Adding an extra result to
ssp.class.php
, like recordFiltered, that extracts data from the full table and gets served for every search (basically just two new arrays — type + number of and year + number of). Problem: could still be too heavy for the server to handle. - Exporting my data as a json, cut it down to the fields I need, and then use
$.get
in a different part of the page. Problem: would need to keep the graphs in sync with the table somehow.
Any ideas? Thank you.