some error if aaData array is empty

some error if aaData array is empty

havahava Posts: 11Questions: 0Answers: 0
edited December 2011 in General
Hi
When aaData array is filled with values all displays correctly but if aaData array is empty DT just stucks , always show 'Processing' and doesn't show 'No Items'. Here is json response from the server
[code] {"aaData":[],"sEcho":1,"iTotalRecords":0,"iTotalDisplayRecords":0,"perpage_select_options":{"10":"10 results","25":"25 results","50":"50 results","75":"75 results","100":"100 results","150":"150 results"},"perpage":25}[/code]

Thanks

A

Replies

  • havahava Posts: 11Questions: 0Answers: 0
    Problem solved, there was white spaces in respond. thanks
This discussion has been closed.