minimum files to use treeview

2 Answers 30 Views
TreeView
Benny
Top achievements
Rank 1
Iron
Benny asked on 24 May 2021, 12:04 PM

All I am using is treeview -

works fine with kendo.all.min.js (locally and CDN) but that is 3+Mb and slows down my page load

when I only use kendo.treeview.min.js  I get " TypeError: window.kendo is undefined"

What are the min js files needed

 

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 27 May 2021, 10:26 AM

Hello, Benny,

Please refer to our Individual Scripts documentation. At the bottom of the page you will find the list of the files you need for the TreeView.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Benny
Top achievements
Rank 1
Iron
answered on 27 May 2021, 08:07 PM

Hi Martin

thanks for the response

what about min css files?

I have kendo.common.css but can't see the little triangles to open the tree if I move it away from the main Kendo folder - which I need to do

Ben 

Martin
Telerik team
commented on 01 Jun 2021, 01:17 PM

Please review our LESS themes documentation. The kendo.common.css file is the default base stylesheet which is used for most of the Kendo themes. That file should be loaded before the Kendo theme you have chosen for your application. Below is how the files should be referenced if you wish to use the kendo.default.css theme, for instance:

<head>
  <meta charset="utf-8">
  <title>Untitled</title>

  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2021.2.511/styles/kendo.common.min.css">
  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2021.2.511/styles/kendo.default.min.css">

  <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/angular.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/jszip.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/kendo.all.min.js"></script></head>
<body>

I hope the above would be helpful. Let me know if you have any further questions.

Tags
TreeView
Asked by
Benny
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Benny
Top achievements
Rank 1
Iron
Share this question
or