fnAddData not working for server side ["bServerside": true]

fnAddData not working for server side ["bServerside": true]

pbalasubpbalasub Posts: 1Questions: 0Answers: 0
edited April 2014 in General
fnAddData not working for server side ["bServerside": true]. I'm display more than 1000 rows via ajax source. I want to add/delete rows in the client side for further processing. I cannot add a new row in the server side Ajax call.

Is there any way to add in the client side?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Documentation for fnAddData says:

    > Please note that this is suitable for client-side processing only - if you are using server-side processing (i.e. "bServerSide": true), then to add data, you must add it to the data source, i.e. the server-side, through an Ajax call.

    If you are using server-side processing, then adding data on the client-side is pointless since it will be immediately lost on the next draw, it won't be included in the sorting or filtering etc. Add it at the server.

    Allan
This discussion has been closed.