400 Bad Request
400 Bad Request
Hi,
I have very large DT, 395 columns (days in year+month).
Not I get "400 Bad request" because my json request url length is over 7000 chars.
Example json request:
get.php?c=1&sEcho=1&iColumns=395&sColumns=&iDisplayStart=0&iDisplayLength=-1&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2....&mDataProp_394=394&_=1323257078340
I do not have any sorting or filtering etc.
How do I shorten json request?
I have very large DT, 395 columns (days in year+month).
Not I get "400 Bad request" because my json request url length is over 7000 chars.
Example json request:
get.php?c=1&sEcho=1&iColumns=395&sColumns=&iDisplayStart=0&iDisplayLength=-1&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2....&mDataProp_394=394&_=1323257078340
I do not have any sorting or filtering etc.
How do I shorten json request?
This discussion has been closed.
Replies
What to do, I would say, is not try and shorten the request (although you could remove some of the properties you don't need by modifying the core if you wanted), but rather, just POST the request rather than using the default GET: http://datatables.net/release-datatables/examples/server_side/post.html (this method needs v1.8.2 btw).
Regards,
Allan
Allan
With this POST it does not work, columns does not line-up..
Allan
Allan
can you point me to the right direction how to make those stylings same? :)
".ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default"
is applied to the static header only.
Allan
Does "bJQueryUI":true have something to do with this?
Allan
One more question. How to use FixedHeader with Tabs? I have three DTs, own Tab for each.
I post for the people who would miss this option.