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
Tejashree
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
Assuming you are using
ajax
, you would need to initialise your tables individually and specifyajax.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
For different widget I want to dispaly different datatables
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