Legacy DataTables 1.9: How to handle multiple column parameters?

Legacy DataTables 1.9: How to handle multiple column parameters?

guest12134guest12134 Posts: 1Questions: 1Answers: 0

Hey everybody, I'm quite new to this and stumbled upon a problem:
I use DataTables in a Spring environment and wanted to create a controller that is called with the AJAX source attribute. I took a look at the parameters I get from the data tables request and realized that it sends {bSearchable_0, bSearchable_1, bSearchable_2, ...} according to how many columns my table has to show. Problem is my controller is not able to forsee how many columns the requesting table has. Is there another possibility like "catching" these paramaters in an array, or suchlike?
Unfortunately, I am not allowed to upgrade to your new API, so I'm stuck with the legacy documentation and that does not state how to treat that situation.
Thanks in advance : )

This discussion has been closed.