[progress Communities] [progress Openedge Abl] Forum Post: Re: Dropdownlist

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, Yes, it seems that you are very close. I am guessing that that your data (SubContractor) is exposed as an OpenEdge service. In that case, the way that you would access it is by creating a DataSource of type jsdo. Like in the following example: oemobiledemo.progress.com/.../j.html $("#salesPeople").kendoDropDownList({ filter: "startswith", dataTextField: "RepName", dataValueField: "SalesRep", enable: true, optionLabel: "Select", dataSource: { type: "jsdo", transport: { jsdo: "Salesrep" } } }); }); In this example, the dataSource is defined inline. An alternative is to define it as dataSource: and use a DataSource instance defined in the view. I can look into providing a sample for you on this later when I have more time. I hope this helps. P.S.: In sample, the country is defined using local data from an array and Salesrep is defined via Data Source instance. You can see the local array at: github.com/.../view-factory.js

Continue reading...
 
Status
Not open for further replies.
Back
Top