Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set an HTML table with filters and sorting

I am looking for a script that allows me to insert in an html table the possibility of filtering data with the same (or almost) elasticity that for example Excel offers, that is the possibility of filtering certain elements even on multiple fields, the possibility of order in ascending and descending order and also the possibility of filtering all elements, for example greater or less than a certain number.

Is there something a thing like that?

Thanks a lot for the support!

like image 878
kris9951 Avatar asked Sep 14 '25 22:09

kris9951


1 Answers

Datatables is the solution:

Url: https://datatables.net/

You have multiple plugins/extensions for this... You can do everything you imagine...

Select by column value:

https://datatables.net/examples/api/multi_filter_select.html

Search in each column:

https://datatables.net/examples/api/multi_filter.html

like image 177
Dani Avatar answered Sep 16 '25 13:09

Dani