Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Is it possible to trigger the load on demand from javascript ?
posted

I would like to add a button in the footer template that will retrieve the next bunch of items from the server. Is is possible to do it ?

Parents
  • 24671
    Suggested Answer
    posted

    Hi,

    You can  use the loadItems('<some filter text>') function.

     

    var dropDown = $find(<drop down ID>);

    dropDown.loadItems('text');

    This will retrieve all the items that are resulting from filtering on this text. 

    About triggering actual load on demand programatically - yes it is also possible, use this function

    "_onPagerMoreResults":

    dropDown._onPagerMoreResults();

     

    Angel 

Reply Children