Need to add two input boxes on toolbar
Need to add two input boxes on toolbar
CenterFound
Posts: 30Questions: 10Answers: 0
I have a large table that I need to display filter results. The two inputs would be a a range, start and end, to be passed to ajax. This filtered result set would be loaded into DataTables via server side processing. The values from the start and end would be passed as parameters to the ajax call. I'm uncertain how to do this, any guidance appreciated.
Thank you, Allan
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The
ajax.data
option can be used to pass data to the server, which it could then perform whatever filtering it needs to on. Use that option as a function to let it get the values dynamically from the document, then just calldraw()
when you want to redraw the table.Regards,
Allan
Thanks Allan - This appears to do what I need.