Sending non table data from server side
Sending non table data from server side
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
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
This discussion has been closed.
Replies
This example is helpful
http://datatables.net/examples/server_side/custom_vars.html