This is a migrated thread and some comments may be shown as answers.

combobox datasource data loading problem

1 Answer 542 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nadav
Top achievements
Rank 1
Nadav asked on 21 Mar 2017, 03:57 PM

Hi all

I am trying to load some remote data (web api) to combobox at fiddler i can see that the data return but the widget does not showing anything.

 

var dataSource = new kendo.data.DataSource({
                transport: {
                        read: {
                            dataType: "jsonp",
                            url: `My URL`,
                            data: {
                                name: "product"
                            }
                        }
                    }
            });
            $("#crmAttributes").kendoComboBox({
                dataTextField: "DisplayName",
                dataValueField: "Myvalue",
                dataSource: dataSource.read()
            }).data("kendoComboBox").open();

 

I am working on rtl...

 

thanks for your help :)

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 23 Mar 2017, 08:55 AM
Hi,

Please review the following dojo example containing similar case:  http://dojo.telerik.com/eQEda/5.

Additional information about configuring the ComboBox component can be found here: http://docs.telerik.com/kendo-ui/api/javascript/ui/combobox.

Regards,
Nikolay
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ComboBox
Asked by
Nadav
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or