Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

How to change Server-Side searching to Client-Side? #862

Open
vertisan opened this issue Dec 20, 2018 · 3 comments
Open

How to change Server-Side searching to Client-Side? #862

vertisan opened this issue Dec 20, 2018 · 3 comments

Comments

@vertisan
Copy link

Hi,

In my case searching by Server-Side is too slow, better alternative can be searching by Client-Side so how can I change this option?

@DylanDelobel
Copy link

Wondering the same 🤔

@stephanvierkant
Copy link
Collaborator

Caching is like good sex; it hides the real problem

Why is server-side slow? I've got tables with 100k rows and it's very fast. Consider using Symfony's profiler to see why queries are slow. How many rows/columns do you have?

Please be aware that you can't search client side if you load the data with ajax.

@DylanDelobel
Copy link

I'm looking to put the datatables client-side after the first Ajax because he already got all the rows

I would stop making ajax request for every ordering/sorting since all the data is shown, but looking through all the issues that look like removed and a WIP features now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants