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
300
Force LoadOnDemand to alter OData query on initialization
posted

I am using an OData datasource and an igCombo with LoadOnDemand on v2013.1. I want to set the value/text of the igCombo to a value that does exist in the whole dataset, but not necessarily on the first page of results. Currently, it will only databind on the first page of results, but I would like it to call the service for the specific value. Is this possible?

  • 300
    Verified Answer
    posted

    I ended up getting this to work by updating the datasource just prior to setting the selecteditems value using:

    $("#" + this.InputId).igCombo("option", "dataSource", sameOldDs);