Suppressing column attributes in GET request
Suppressing column attributes in GET request
sdinesh21
Posts: 37Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
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