KendoOrgChart is not a function

1 Answer 524 Views
General Discussions OrgChart
T
Top achievements
Rank 1
T asked on 03 Nov 2021, 04:59 PM

Hi

I am trying to load the OrgChart in jquery using the example provided in documentation but for some reason whenever it tries to load the datasource by invoking the control kendoOrgchart method it gives the error:

Im referencing the below files in my project.

    <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
    <script type="text/javascript" src="../assets/kendo/kendo.all.min.js"></script>
    <script type="text/javascript" src="../assets/kendo/kendo.dataviz.min.js"></script>
    <link rel="stylesheet" href="../assets/kendo/kendo.common.min.css" type='text/css'  />
    <link rel="stylesheet" href="../assets/kendo/kendo.default.min.css" type='text/css'  />

 

Get the error on below line:

$('#orgchart').kendoOrgChart({
        dataSource: data
    });

Please advise what could be the problem.

Thanks

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Nov 2021, 09:47 AM

Hello, 

The OrgChart widget was released in the latest version 2021.3.914. The error should occur if you are using anything prior to this version. Kindly update to the latest one so that you can benefit the new features.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions OrgChart
Asked by
T
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or