Open ComboBox without firing "read" event

2 posts, 0 answers
  1. Joey
    Joey avatar
    7 posts
    Member since:
    Apr 2016

    Posted 23 Jan 2017 Link to this post

    I've noticed that if I have a kendo combobox with server filtering enabled, if I call the open event in jquery, it will fire a read event (go to the server and get results) and then open the list with the results.  However, it doesn't always fire the read event so sometimes it doesn't update.  When i call the read event, it doesn't open the list with the results.  Is there anyway that i can call the read event, then make the combobox list dropdown and show the results?  I'm trying to call the read event then the open event, without the open calling the read event again.  
  2. Peter Milchev
    Peter Milchev avatar
    336 posts

    Posted 25 Jan 2017 Link to this post

    Hello Joey,

    The behavior you are describing depends on the configuration of the ComboBox. Generally, the ComboBox makes a request to the server when it needs to load the items. Once the items are loaded, the request to the server is not necessary as the dataSource items are already loaded. 

    As far as I understand, opening the dropdown in the dataBound event should fit your case. Here is a Dojo example representing the described approach.

    If it doesn't, would you please provide us more details on the expected behavior and the configuration of the ComboBox. A dojo example or other examples of the desired behavior would be greatly appreciated.

    Peter Milchev
    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.
Back to Top