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

.js files for grid only

2 Answers 464 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Logan
Top achievements
Rank 1
Veteran
Logan asked on 16 Mar 2016, 12:42 PM

I would like to only use the kendo grid and none of the other kendo controls in my project.  What is the minimum number/size of .js files that I need to include for it to work?

 

I tried just including the kendo.grid.js file, but that wasn't enough and while including the .all.js worked it wasn't clear what the minimum was.

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 16 Mar 2016, 03:19 PM
Hello Logan,

We have a list of what script files you need to use for individual widgets.  If you go to the Script Files for Data Management section, scroll down until you get to Grid.  That list will help direct you to which files are necessary for the grid.  

In particularly, you will need jquery.js, kendo.core.js, kendo.data.js, kendo.columnsorter.js, and kendo.grid.js.  After that, you will need to add other script files for your custom scenarios.  

Here are a couple examples I created using Telerik Dojos:

1. A Kendo Grid with just local data and a pager.
2. A Kendo Grid using odata.

I hope this helps clear things.

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Logan
Top achievements
Rank 1
Veteran
answered on 16 Mar 2016, 04:17 PM

Perfect.

Tags
Grid
Asked by
Logan
Top achievements
Rank 1
Veteran
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Logan
Top achievements
Rank 1
Veteran
Share this question
or