Sending non table data from server side

Sending non table data from server side

Madhu12Madhu12 Posts: 32Questions: 0Answers: 0
edited January 2013 in General
In my table I am sending JSON from the server side with "aaData" as a key. The value pair of "aaData" is loaded successfully in the table.

In some cases I have a to display some additional information (like a warning message). So I have added "warningMsg" as another key in the same JSON.

Since the returned JSON is interpreted and data is loaded into the table automatically, how can I extract the value pair corresponding to "warningMsg" key from the returned JSON so that I can display this message in say a dialog box.

I am using DataTables 1.9.4 with jQuery 1.8.1

Thanks,
Madhu

Replies

  • Madhu12Madhu12 Posts: 32Questions: 0Answers: 0
    Is there a way to access the response from the server?
  • Madhu12Madhu12 Posts: 32Questions: 0Answers: 0
    Sorry, a rephrased search yielded many results in this forum.

    This example is helpful
    http://datatables.net/examples/server_side/custom_vars.html
This discussion has been closed.