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

Object #<Object> has no method 'isRtl'

4 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SelAromDotNet
Top achievements
Rank 2
SelAromDotNet asked on 08 Mar 2013, 01:59 AM
I placed a table in my html:

<table id="comments">
    <tr>
        <th data-field="module"></th>
        <th data-field="author"></th>
        <th data-field="date"></th>
        <th data-field="comment"></th>
        <th data-field="status"></th>
    </tr>
</table>
and then called the grid:

$("#comments").kendoGrid();
when I run the page I get this error: Uncaught TypeError: Object #<Object> has no method 'isRtl'
I did originally have this connecting to my datasource, but I removed that to see if maybe the datasource was causing the error, but even at this bare-bones I'm still getting the issue.

I'm fairly new to Kendo so I'm not sure what else I need to supply to give you an idea of what might be wrong, so if you need more info please let me know and I'll supply it!

Thanks!

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Mar 2013, 10:00 AM
Hello Josh,

Here is an example based on the provided information, which works. Let me know if I am missing something.

http://jsfiddle.net/dimodi/4Tuyn/show/

In case you are using an old version of Kendo UI, please upgrade.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
SelAromDotNet
Top achievements
Rank 2
answered on 08 Mar 2013, 05:26 PM
yea well I mean it's not that I don't believe it works, it's that it doesn't. I guess my real question is, what could cause the error message above? am I missing a reference?

I'm guessing this isn't specifically a Kendo problem, I just thought I'd check first. As for upgrading I'm using the kendo that comes with Sitefinity 5.4 so I don't think I can change it...

I'll keep looking thanks
0
Dimo
Telerik team
answered on 11 Mar 2013, 08:33 AM
Hello Josh,

Theoretically, the problem might be caused by Kendo UI as well, however, I am not sure how to reproduce it, that is why I provided a simple example, so that you can compare it with your implementation.

Generally, registering a second jQuery instance on the page deletes all previously registered jQuery plugins (such as the Kendo UI widgets). Also, manually destroying a widget instance at an inappropriate time may result in Javascript errors. Have you tried debugging?

isRtl() is a method of the kendo.support object. It is used by all widgets. You can check what does kendo.support and kendo.support.isRtl return at the time of the error.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
SelAromDotNet
Top achievements
Rank 2
answered on 28 Mar 2013, 11:31 PM
aha! it turns out that another section of the page was using DataViz which was a different version than the kendo web component.

or something like that.

bottom line is updating all the kendo scripts to the latest resolved the issue, thanks for your help!
Tags
Grid
Asked by
SelAromDotNet
Top achievements
Rank 2
Answers by
Dimo
Telerik team
SelAromDotNet
Top achievements
Rank 2
Share this question
or