Combobox read from Datasource

2 posts, 0 answers
  1. Vijay
    Vijay avatar
    19 posts
    Member since:
    May 2011

    Posted 17 Mar 2014 Link to this post

    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
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 19 Mar 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top