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

Combobox read from Datasource

1 Answer 34 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 17 Mar 2014, 02:42 PM
Hi,
   I have a multiple kendocomboboxes on a page which are not cascaded. I have a datasource as below.
    
      var dataSource = new kendo.data.DataSource({
              dataType: "jsonp",
              customDataField: "ChangeParameters", //AutoCompleteDetails[index][2],
             serverFiltering: true,
             transport: {
                  read: onAutoComplete
             }
     });

When I type something in the comboboxes the onAutoComplete function is called correctly. The only issue I have is I am unable to find the combobox which triggered this.I am totally stuck over here. Please help.


Regards
Vijay

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 19 Mar 2014, 10:38 AM
Hi Vijay,

I am afraid that getting the widget that initiated the read is currently not supported. Additionally, if the DataSource read method does different things depending on which AutoComplete triggered it it is probably better to use separate DataSource instances.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ComboBox
Asked by
Vijay
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or