Enable on th fly search in server side process

Enable on th fly search in server side process

stomerfullstomerfull Posts: 3Questions: 0Answers: 0
edited September 2011 in General
I implement this server side process and it work fine but i have one question

In this concept I would like that research will be done textually (on the fly) but does not pass through the server because i have a complicated query in my database ()
here is my code

[code]oTable var = $ ('# mytable'). dataTable ({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "file.php"[/code]

I have four column for example

example I have column "name" as first

I would like to use this method to research fnFilter

[code]
$ ('# name'). change (function () {
oTable.fnFilter ($ (this). val (), 0);
});
[/code]
but it does not work probably because of this variable "bServerSide": true,

Is it possible to have this functionality with server side

thank you for your help

Replies

  • stomerfullstomerfull Posts: 3Questions: 0Answers: 0
    Does anyaone can give me any idea
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    The demo (PHP) scripts for server-side processing will cope with individual column filtering just fine. The parameters are passed in as sSearch_(int) ( http://datatables.net/usage/server-side ), so the SQL that is built up just needs to take account of those parameters.

    Allan
  • stomerfullstomerfull Posts: 3Questions: 0Answers: 0
    ok thank you very much
This discussion has been closed.