How to handle empty result from server.

How to handle empty result from server.

timmy4alltimmy4all Posts: 4Questions: 2Answers: 0
edited April 2014 in General
Hi,

I am using the sAjaxSource for fetching data from my spring controller which gives a json response.
Although when there is no data the datatable show "Loading......" message.

I read through other posts which suggested to send empty array with "{aaData:[ ]}"..but I am using
"sAjaxDataProp": "" ..so my data property is null.. How do i handle this? I am using the gson library in java.
This discussion has been closed.