Server-side processing with client-side filtering
Server-side processing with client-side filtering
Hello everyone, I have a question. I can't explain exactly, but I'll show you with an example.
I have a table output from the database (it does not matter) to the client. For example: the date of registration is displayed in the table (04.27.2022), but in the database it is written as (2022-04-27), when searching for the value "04.27.2022" it does not find anything, since something else is written on the server-side meaning. Is it possible to somehow filter the text so that when looking for a value from the client-side, it finds it in the same format as on the server-side?
I hope I explained correctly, and you will understand the essence of the issue, thanks!
Answers
Server-side: PHP
Client-side: AJAX
With server-side processing, it's up to the server script to search for the results. If you're changing the appearance of the data being displayed in the table, then those scripts would also need to convert any search strings to that format too. There's nothing built into DataTables to do that,
Colin