jQuery UI Widgets Forums Plugins Data Adapter binding Complete event firers twice

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • binding Complete event firers twice #76192

    EricK
    Participant

    Hello all,
    I have a dataAdapter (json – php mysql request) connected to a jqxDataTable. The event is defined before I initialize the jqxDataTable.
    The data table is first initialized and fills with data table. (the binding complete event works find).
    I then have to query the data again and update the table.

    esource.data = {cemployeeid:emp};
    edataAdapter = new $.jqx.dataAdapter(esource);
    $(“#aevents”).jqxDataTable({ source: edataAdapter });

    What causes the binding Complete to fire twice?

    binding Complete event firers twice #76194

    Peter Stoev
    Keymaster

    Hi Erick,

    I would suggest you to look at your code whether you don’t bind to the event more than once and check your dataAdapter’s dataBind calls.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.