the data loaded from the URL https://wtgrantfdn.xyz/search-data is quite large (1000s of rows) and there is a delay of several seconds between typing and the results rendering.
What I would like to do:
load a much smaller JSON array only with popular searches directly to the page (no ajax request necessary)
search this array initially
and if no results are found in the smaller array, then make the ajax request to the full array.
Any help with regards to how to code this logic is much appreciated.
@sergiodlopes
I'm using flexdatalist here: https://wtgrantfdn.xyz/the-library ...
the data loaded from the URL https://wtgrantfdn.xyz/search-data is quite large (1000s of rows) and there is a delay of several seconds between typing and the results rendering.
What I would like to do:
Any help with regards to how to code this logic is much appreciated.
Thanks!