MongoDB datatables with PHP Codeigniter
MongoDB datatables with PHP Codeigniter
rrtt22
Posts: 17Questions: 1Answers: 0
Can you help me how i can fill sEcho with fields of my database
This discussion has been closed.
Replies
sEcho is only used for legacy server-side processing. I would suggest you use
draw
with the current server-side processing parameters. As that documentation explains, the draw parameter is derived from the information the client sends to the server.Allan
it can works for mongoDB ??
always undefined sEcho
is it true ?? can you help me ?? i use mongoDB database not sql
Are you using DataTables 1.9 or earlier? Why are you using
sEcho
when I stated above you should usedraw
and give a link to the documentation explaining what that parameter is and how to use it.Allan
in mongodb datatables template it was sEcho, not draw
the data have been showed at network (inspect) , but not showed at table.
Do you mean this template? The one that at the top says:
Or are you using some other script?
Allan
yeah that script i use
im sorry i dont read important message , what should i use for mongodb script datatables?
As far as I am aware a Mongo DB script for DataTables 1.10+ hasn't yet been written (at least, not one that I'm aware of and is publicly available).
You would probably need to write your own script or update the legacy one. If you do, perhaps you could share it so others could also benefit.
Allan