Example: TreeView Control
- Last UpdatedJun 22, 2023
- 1 minute read
A custom TreeView control using Kendo UI widget with control initialization, class, and JavaScript files.
-
SFControl.cs (control initialization file)
-
TreeView.cs (control class file)
-
TreeViewBinding.cs (Bindings for the control)
-
corp.customControls.treeView.js (JavaScript file for custom Knockout binding to support height, width, and read-only behavior)
-
kendo.treeview.js
-
knockout-kendo.treeview
Selecting the JavaScript files for the specific Kendo UI widget
The included kendo.all.min.js is limited to the following widgets:
-
Grid
-
DateTimePicker
-
DatePicker
-
TimePicker
-
NumericTextBox
-
ColorPicker
-
PDF with the export features, pdf and drawing (built using the gulp command) for performance benefits.
To support additional widgets and features, you must refer only to the JavaScript files for the specific Kendo UI widget other than the JavaScript files for the included widgets. For this, you must be aware of script dependencies and requirements for the Kendo UI widgets. Refer to Include Individual Widget Scripts for Kendo for the complete list of JavaScript files required for each Kendo UI widget.
Ensure you do not build the required Kendo UI widget JavaScript files using the gulp command as the script files created and registered will contain duplicate code parts.