jQuery UI Widgets Forums DataTable DataTable check in JSON returns null

Tagged: , ,

This topic contains 2 replies, has 2 voices, and was last updated by  cpuin 9 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • DataTable check in JSON returns null #65929

    cpuin
    Participant

    Hi,

    I have implemented dataTable bound to PHO which returns JSON.I have a button and when click the button the table appears.
    The table display records of sales.The problem is that when no sales are available the returned JSON is null and the table displays with refreshing image “loading” stacked .Is there any way when to display empty table or to not display table in null is returned value?

    DataTable check in JSON returns null #65954

    James Lavery
    Participant

    I’d say you’ve got a javascript/json error somewhere, which is causing an exception and leaving the “loading” image displayed – I had this when I was putting together my first DataTable.

    Have you checked in the debugger (FireBug etc.) whether there are any errors?

    DataTable check in JSON returns null #65960

    cpuin
    Participant

    I have no error.Just when returns null, the table stacks on “loading”

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.