jQuery UI Widgets Forums Plugins Data Adapter bindingComplete

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • bindingComplete #54925

    EricK
    Participant

    Hello to all,
    Version 3.2.2
    Had a previous question regarding binding complete. The problem was it fired the first time I loaded the web page.
    I have a data source that is a json query that I update when I click a calendar.
    The bindingComplete event does not fire after the first time.

    
    $("#events").on('bindingComplete', function (event) {
          alert('bind');
          var items = $("#events").jqxListBox('getItems');
          ddate = formatDate(date,'MM-dd-yyyy');
          $('#navigationbar').jqxNavigationBar('setHeaderContentAt', 1, '('+items.length+') Activity: '+ddate);				
    });
    

    I create a jsfiddle and the event fired everytime.

    
    $("#jqxgrid").on('bindingcomplete', function (event) {
        alert('bind');			
    });
    

    THE ONLY DIFFERENCE IS THE spelling bindingComplete and bindingcomplete.
    I changed my script to the lower case and it did not work.
    Is there a difference in the version of jquery 1.9.1 in jsfiddle and the jquery 1.10.2

    What is it, that I do not understand?

    bindingComplete #54934

    Dimitar
    Participant

    Hello EricK,

    The event in question is different for each widget (it is also not related to jQuery but to jQWidgets only). For jqxGrid it is bindingcomplete and for jqxListBox – bindingComplete. You should carefully read the widgets’ API Documentation to make sure you are aware of such specificities.

    Best Regards,
    Dimitar

    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.