Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35373

About fnServerParams and json

$
0
0

I've got a problem with fnServerParams.
I've seen several discussions about fnServerParams, know that it only support "name/values" pairs.
Here's the thing:
when using fnServerData, we can push any json object(not only "name/values") like this:

//version: Datatables 1.10.4
fnServerData: function (sSource, aoData, fnCallback){
    aoData.push({id:"userId", clientName:"name", address:"xxx"});
}

then how i sent the extra params of any json object(not only like {name:"id", value:"userId"}) with fnServerParams?


Viewing all articles
Browse latest Browse all 35373

Trending Articles