Can fnServerData function be used in v1.10?
Can fnServerData function be used in v1.10?
shaun.lv
Posts: 1Questions: 1Answers: 0
Can I use fnServerData function now in datatables v1.10?If my page number was in url(i.e
http://xx/productpage/p-996967-s-3-t-0-p-0.html
http://xx/productpage/p-996967-s-3-t-0-p-1.html
http://xx/productpage/p-996967-s-3-t-0-p-2.html
just like p-pageNum),how to send this request ?In v1.9 I can use fnServerData function to assemble my URL.Is there any new API to use?
This discussion has been closed.
Answers
You can, but I'd suggest you use
ajax.data
instead. See the conversion guide.Allan
But if I have to add pageNum in url which will be sent to server(i.e http://xx/productpage/p-996967-s-3-t-0-p-pageNum.html),how to use in ajax.data?
There are examples on the
ajax.data
reference page that show how to do it - just scroll down the page to see the examples.See also this live example.
Allan