[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, Here are some suggestions to implement what you are asking. (I am assuming that you are using an editable grid in a view created with the Blank view option.) You can implement the drop down list using the colums.values property of the grid: docs.telerik.com/.../grid demos.telerik.com/.../foreignkeycolumn You would need to specify the columns.values property prior to the instantiation of the grid. For example you can do the following in the onShow event of the view: $scope.grid0.options.columns[3].values = [ { text: "Text 1", value: "V1" }, { text: "Text 2", value: "V2" } ]; This approach provides a drop down list and a way to associate a display text to key values. Another approach is to use columns.editor property: docs.telerik.com/.../grid With the editor property you can specify a widget to input values. The documentation provides an example using the AutoComplete control which would allow you to enter a value in addition to providing values from a list. I also found the following thread in the Kendo UI forum: www.telerik.com/.../autocomplete-in-grid-editor jsbin.com/.../edit Here is an example using a DropDownList:: demos.telerik.com/.../editing-custom Please notice that you can create data sources programmatically for any resource defined in a loaded catalog. I hope this helps.

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