How can I combine DetailRows & MultiSearchDrillDown?

How can I combine DetailRows & MultiSearchDrillDown?

JanNL_FRJanNL_FR Posts: 47Questions: 15Answers: 2
edited November 2023 in Free community support

https://campcare.eu/Details/ & https://campcare.eu/Drill/

I have made several attempts to merge the functionality of 2 pages, but it doesn't really work.
I don't really understand where to cut and paste the code.

Can anyone give me directions.

Thanks in advance.

Jan

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    You have an initComplete function in both of them - you need to merge those two together. The easiest way would be to merge the select filter code into the child row display one.

    Note that with only 56 rows you shouldn't use server-side processing. You only need that if you have at least ten thousand rows. If you must use server-side processing, then you need to take that into account for your select filters, since they are only showing the list of options that are available on each page.

    Allan

  • JanNL_FRJanNL_FR Posts: 47Questions: 15Answers: 2

    Thank you Allen.

    Since I'm just getting started with DataTables, I had ChatGPT do the merging. He can write out the customized script in seconds. I can learn from it.
    The merger https://campcare.eu/Drill/combi.html

    The intention is to use a database with tens of thousands of records.

    Jan

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    The intention is to use a database with tens of thousands of records.

    You'll need to have the Ajax query respond with the list of options for each column in that case, and use that rather than generating the list from the client-side data (since the client-side won't have the full data set).

    Allan

Sign In or Register to comment.