Suppressing column attributes in GET request

Suppressing column attributes in GET request

sdinesh21sdinesh21 Posts: 37Questions: 0Answers: 0
edited November 2013 in DataTables 1.9
Hello Allan/All,

I am using Datatables 1.9.4 for a table which has more than 80 columns. I am using GET request and see that it hits the max characters in the request when there are more than ~75 columns. I checked the GET request and noticed that apart from column names, there are other attributes of the column that are being passed like bSearchable, sSearch_(colnum)... How can I suppress these attributes and what is the impact if I do? Please suggest.

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Three options:

    1. Use POST :-)
    2. Use fnServerParams and delete the parameters you don't want to send from the array
    3. Use fnServerData (basically the same as 2, but perhaps a little more flexible).

    I'd approach them in that order myself.

    Allan
This discussion has been closed.