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

Open ComboBox without firing "read" event

1 Answer 245 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Joey
Top achievements
Rank 1
Joey asked on 23 Jan 2017, 04:31 PM
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.  

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 25 Jan 2017, 12:53 PM
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.

Regards,
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.
Tags
ComboBox
Asked by
Joey
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or