DataSource
configurationThe data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.
If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.
If the dataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
The text and content of the items are HTML-encoded by default. Set the encoded property of an item to false to render its text and content as HTML.
Security Warning: Setting
encodedtofalserenders the itemtextandcontentwithout encoding. Use it only with trusted content. Rendering unsanitized user input can lead to Cross-Site Scripting (XSS) vulnerabilities.
dataSource
Object|Array|kendo.data.HierarchicalDataSource