HowTo use server-side processing with fnServerData ?
HowTo use server-side processing with fnServerData ?
Hi *,
I use DataTables to display a table which I get from a server-side processing mysql select. I use quit the same like the server-side processing example. Works very good :)
Now I like to filter the mysql select through an additional "where filter" command before it is displayed in DataTables.
I changed the php "backend" File and my select with the additional "where" is working. But how can I add that additional filter to the "frontend". So my target is to have a addional input box on the frontend which is the given to the backend php file - so that i can access the input to the box through ( $_GET['sNew'] ); at the php file.
How can I do something like this?
I read about fnServerData but I have no idea how to use it...
Thank you.
Tobi
I use DataTables to display a table which I get from a server-side processing mysql select. I use quit the same like the server-side processing example. Works very good :)
Now I like to filter the mysql select through an additional "where filter" command before it is displayed in DataTables.
I changed the php "backend" File and my select with the additional "where" is working. But how can I add that additional filter to the "frontend". So my target is to have a addional input box on the frontend which is the given to the backend php file - so that i can access the input to the box through ( $_GET['sNew'] ); at the php file.
How can I do something like this?
I read about fnServerData but I have no idea how to use it...
Thank you.
Tobi
This discussion has been closed.
Replies
Have a look at this thread: http://datatables.net/forums/comments.php?DiscussionID=1118&page=1#Item_4 - does that cover what you are looking for?
Regards,
Allan