bind to new data after text change

6 posts, 0 answers
  1. Sagi
    Sagi avatar
    60 posts
    Member since:
    Sep 2008

    Posted 29 Sep 2013 Link to this post

    Hi,
    I'm trying to bind the multiselect widget to a different source depends on the text.
    It means that I need to detect every text change and than re-bind the widget's datasource.
    How can I achieve that ?
    Is there any event for text change ? (not select event)
    btw,  My data source is very big so I can not bring it tio the client and use local datasource , In addition I can not bind it to remote data source cause the data is changing very quickly and updating the entire data (into odata format) is very expensive.

    Sagi
  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 01 Oct 2013 Link to this post

    Hello Sagi,

    Basically you can add custom keydown handler to the input element of the multiselect.

    e.g.

    $('#products').data().kendoMultiSelect.input.on('keydown',function(e){
         console.log('key down ->' , e);
    })

    Here is an example:

    http://jsbin.com/ecivUw/2/edit


    Kind Regards,
    Petur Subev
    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
  4. Venkat Chalasani
    Venkat Chalasani avatar
    7 posts
    Member since:
    Mar 2010

    Posted 29 Jul 2015 Link to this post

    Hi,

     

    I am stuck in the same situation as Sagi. But I am developing with AngularJS  and Kendo UI v2014.2.903.

    Please advice me solution to implement in AngularJS.  

     

    My sample GET call is as : 

     Thanks in advance.

    Regards,

     

    dataSource: {
                         type: "json",
                    serverFiltering: true,
     
                    transport: {
                        read: function (options) {
                            var config = {
                                method: 'GET',
                                url: eventsService + "/getdata?q=a",
                                headers: credentials
                            };
                            $http(config).success(function (data) {
                                options.success(data);
                            });
     
                        }
                    }
                }

     

  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 31 Jul 2015 Link to this post

    Hello Venkat Chalasani,

     

    Please open a separate support request with some more information and we will be happy to help you.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Venkat Chalasani
    Venkat Chalasani avatar
    7 posts
    Member since:
    Mar 2010

    Posted 31 Jul 2015 in reply to Venkat Chalasani Link to this post

    i am able to  solve the issues.

     

     

    Thanks

  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Aug 2015 Link to this post

    Hello Venkat Chalasani,

     

    Happy to hear that the issue is resolved. But in case you have any future questions, do not hesitate to open a thread and contact us.

     

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready