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

resizable.js - undefined is not a function

1 Answer 271 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 07 Jun 2012, 02:55 PM
I have a web page using a Kendo grid.  It was working fine with the full js file.  But to save space, I removed that file and added in the dependencies manually.  I used the documentation here: http://www.kendoui.com/documentation/javascript-dependencies.aspx.

The documentation appears incorrect.  I am not doing any editing nor sorting nor filtering.  I ended up with the following:
<script src="scripts/kendo.core.min.js"></script>
<script src="scripts/kendo.data.min.js"></script>
<script src="scripts/kendo.grid.min.js"></script>
<script src="scripts/kendo.pager.min.js"></script>
<script src="scripts/kendo.selectable.min.js"></script>

I received an error about resizing so I then included the following (incorrect docs?):
<script src="scripts/kendo.resizable.min.js"></script>

Now I just receive the error "undefined is not a function" from this last file.

Sorry if this is a duplicate, there does not appear to be a search function for the Kendo forums. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 08 Jun 2012, 02:11 PM
Hi Paul,

When you are using the resizable you need to include also the kendo.draganddrop.js script, the same applies for reordering functionality.
<script src="js/jquery.min.js"></script>
<script src="js/kendo.core.min.js"></script>
<script src="js/kendo.data.min.js"></script>
<script src="js/kendo.pager.min.js"></script>
<script src="js/kendo.selectable.min.js"></script>
<script src="js/kendo.draganddrop.min.js"></script>
<script src="js/kendo.resizable.min.js"></script>
<script src="js/kendo.grid.min.js"></script>

Thank you for the feedback, the documentation will be updated in a short period of time.

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