This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 11 months ago.

Multiple Datatables with search in ajax


  • Bquad
    Participant

    Posts: 1
    Member Reply #541

    Hello,

    when I set multiple datatables on a page (like in the attachment), the search only work for the second table. The set up of the search is in the datatable.js file. Can it be set for multiple datatables?

    Thank you.

    Regards.

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4226
    Support Staff Reply #546

    Hi :),

    Did you put a separate JS initialization code for each datatable ? Also the each table must have unique ID and by ID you should initialize the datatables. For further effective support please provide us a test link to your site. When you provide us a test link you can mark it “Private reply” checkbox so only our support staff can view it.

    Thanks.

    • This reply was modified 2 years, 11 months ago by Sean Sean.

    Bquad
    Participant

    Posts: 1
    Member Reply #580
    This reply has been marked as private.
    Sean
    Sean
    Keymaster

    Posts: 4226
    Support Staff Reply #602

    Hi :),

    I just checked your site using your provided test URL it looks like working. I assume you already fixed the issue. So i close the case now. If you need any further assistance please let us know.

    Thanks.

You must be logged in to reply to this topic.