Following up on this idea, I’m trying to build out a form to fine tune searches for users, more than just filtering by column.
Building out the webform is easy enough, and I’ve been able to get as far as submitting the parameters and having my sprunje return the results. However, I’m a bit stuck on how to display this data.
My initial idea was to try to leverage ufTable since it handles things like paginating the results to help with performance. However, as far as I can tell, it works with a GET-type API endpoint but not a POST one. (I’m submitting the data from my form via POST.)
A couple of questions:
- Is there a convenient way other than ufTable to show an arbitrarily large number of results?
- Has anyone used a ufTable with a POST-type API endpoint?
I’ve got a very primitive keyword search working by embedding the submitted term and then initializing the ufTable whole-table search field with that value, but this won’t work for the more complex queries I want to support.
I can provide code samples if that helps but it’s a lotttt of code (routes, controllers, templates, js, custom sprunje and more) and this seems more like a concept-level predicament.