How to display multiple DataTables on a page with dynamic parameters fetched from a list or library

How to display multiple DataTables on a page with dynamic parameters fetched from a list or library

TejashreeTejashree Posts: 2Questions: 1Answers: 0

Description of problem:
For displaying multiple datatables on page how to display data while passing datatable parameters dynamically stored in list/libraries?For each datatable needs to pass different datatable option parameters according to that display data.

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Assuming you are using ajax, you would need to initialise your tables individually and specify ajax.data for each table with the parameters you want to send.

    It sounds like you are currently initialising the DataTables with a single call? If I've misunderstood, please link to a test case showing the issue.

    Allan

  • TejashreeTejashree Posts: 2Questions: 1Answers: 0

    For different widget I want to dispaly different datatables

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    You'll need to give me an example showing what you are looking to do I'm afraid. I don't really understand at the moment. As requested before, please link to a test case.

    Allan

Sign In or Register to comment.