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

[Solved] Code broken with newest update

4 Answers 166 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 09 Sep 2014, 10:36 PM
I tried updating my grid to use 2014.2.903 version of kendo.min.js and kendo.angular.min.js, but when I do, code that was working formerly no longer works.

Specifically this snippet in the initialization of grid columns is where I get an error:

filterable: {
extra: false,
cell: {
template: function (input) {
input.kendoDropDownList({

It complains that kendoDropDownList is not something that can be done to "input". Type of input shows as Object, or if you look further into the properties it is correctly identified as an INPUT.

Putting back the former *.js files returned my app to working as before.

Bob Graham

4 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 09 Sep 2014, 10:45 PM
The specific error is: Object doesn't support property or method 'kendoDropDownList'

I tried replacing all of the kendo files (I originally left the older css files) but it made no difference, same error.
0
Accepted
Alexander Popov
Telerik team
answered on 11 Sep 2014, 02:45 PM
Hello Bob,

Indeed, we recently introduced a change in the arguments of the template function. The function now provides access both to the element and to the suggestion DataSource, so initializing the DropDownList could be done as follows: 
template: function (options) {
    options.element.kendoDropDownList({

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Robert
Top achievements
Rank 1
answered on 11 Sep 2014, 05:06 PM
[quote]Alexander Popov said:Hello Bob,

"we recently introduced a change"
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
[/quote]

Hi Alexander,

So where would one regularly access a list of breaking changes? I lost several hours on Tuesday assuming I was doing something wrong since there was no "breaking changes" list offered up  when I installed 2014 Q2 SP1.

Thanks, Bob
0
Accepted
Alexander Popov
Telerik team
answered on 15 Sep 2014, 12:58 PM
I apologize for the inconvenience we have caused you Bob. The breaking changes are listed in the release notes, although I have to admit we missed this one.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Alexander Popov
Telerik team
Share this question
or