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

AutoComplete custom editor error after upgrade

2 Answers 125 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 20 Aug 2015, 10:21 AM

I'm upgrading from Kendo 2015 Q1 SP1 (2015.1.408) where my grid with AutoComplete editor works fine, but when upgrading to any of the later versions (ex:Q2 SP1) breaks the editor, throwing "Uncaught TypeError: e._preselect is not a function" when clicking on a grid cell with the custom editor.

http://dojo.telerik.com/epowu shows the broken version  (click on a "States" cell to see the exception and the placeholder text and not the correct value). 

http://dojo.telerik.com/oHIse works fine using an older version.

Did I miss some breaking change?

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 24 Aug 2015, 10:15 AM
Hello Andreas,

In Q2 2015 release of Kendo UI, we introduced a full support for deferred binding for ComboBox, DropDownList and MultiSelect widget when MVVM value binding is used.

The AutoComplete throws an exception in this case, because it does not support such deferred binding as it always works with "load on demand" filtering. You can avoid the reported error if you remove the autoBind: false option: The widget does not support the autoBind option:
Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sypher
Top achievements
Rank 1
answered on 17 Sep 2015, 07:27 PM
Thanks, Georgi! I had the same issue and removing the autoBind: false option fixed it. :-)
Tags
Grid
Asked by
Andreas
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Sypher
Top achievements
Rank 1
Share this question
or