New to DataTables but I know what I want !!!!

New to DataTables but I know what I want !!!!

alexanderwebalexanderweb Posts: 12Questions: 4Answers: 0

Hello Support
I have designed websites for many years but have been using an old system called WebPlusX8 from Serif and no longer supported. It still works but time to move up and on and I have been looking at WordPress but I need to be able to filter a table of old cycle race results by up to 4 columns eg Race Name, Date, Club and Member.
Can anyone be kind enough to point me in the correct direction regarding DataTables and filtering as I found this page shows exactly what I require
https://legacy.datatables.net/extras/thirdparty/ColumnFilterWidgets/DataTables/extras/ColumnFilterWidgets/
Any help much appreciated.

This question has an accepted answers - jump to answer

Answers

  • BusterenBusteren Posts: 52Questions: 17Answers: 4
    Answer ✓

    Hey there, you should have a look here:
    https://datatables.net/examples/api/multi_filter_select.html

    I think this is doing what you want.

  • alexanderwebalexanderweb Posts: 12Questions: 4Answers: 0

    Hello Busteren and Many thanks .... that example link is exactly what I for looking for and I notice the filter boxes are below the data and assume they can also be shown above the data?

    Now for a new WP user like myself or whatever web design software you would recommend how do I start and then incorporate the table?

    My data is 8 Columns and 4 need to be searchable and the current data is contained in an excel sheet of around 2000 rows of data and ideally I need a page on my website so users can view and search as required.

    Any additional pointers appreciated.

  • BusterenBusteren Posts: 52Questions: 17Answers: 4

    It can, DataTables has an option called DOM which you can modify, it's a bit tricky to start with. There is also the option of using JS to append the selectors above your table, which might be easier.

    As for the last two paragraphs, if you are asking for what software to use/how to build a website not using a website builder, you are better off searching on google/youtube. It is also not that relevant for this forum.

    Datatables would be part of the JS of your website, the installation guide is here:
    https://datatables.net/manual/installation

    I would recommend trying out the basic examples that you can find on the website here under examples:
    https://datatables.net/examples/index

  • alexanderwebalexanderweb Posts: 12Questions: 4Answers: 0

    Many thanks Busteren .. I understand and excuse me trying to run before I can walk !!!

    Appreciate the links and I will get into WP/DataTables and at some point get back to you.

    Will follow the links...thanks again.

This discussion has been closed.