Skip to content

Commit 5353066

Browse files
Desislava Mihaylovatsvetomir
authored andcommitted
docs: fix a link, add PanelBar to the widgets aware of DS hierarchy (#2620)
1 parent 7daa60d commit 5353066

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/javascript/ui/dropdownlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@ The widget instance which fired the event.
17831783
Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.
17841784

17851785
> * The event is not fired when an item is selected programmatically.
1786-
> * Since version Q1 2015 (2015.1.318), the [option label has been moved outside the item list DOM collection](/backward-compatibility#kendo-ui-2015-q1). As a result, `jQuery.index()` can no longer be used to reliably detect if the option label is the selected dropdown item. A more appropriate approach would be to check if the selected dataItem value is an empty string, and/or check if the selected dateItem's text is equal to the `optionLabel` string.
1786+
> * Since version Q1 2015 (2015.1.318), the [option label has been moved outside the item list DOM collection]({% slug breakingchanges2015_kendoui %}#kendo-ui-2015-q1). As a result, `jQuery.index()` can no longer be used to reliably detect if the option label is the selected dropdown item. A more appropriate approach would be to check if the selected dataItem value is an empty string, and/or check if the selected dateItem's text is equal to the `optionLabel` string.
17871787
> * `e.sender.dataItem(e.item)[e.sender.options.dataValueField] == ""`
17881788
> * `e.sender.dataItem(e.item)[e.sender.options.dataTextField] == e.sender.options.optionLabel`
17891789

docs/framework/hierarchicaldatasource/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ The configuration above creates a two-level HierarchicalDataSource—categor
205205

206206
### Bind Widgets to HierarchicalDataSource
207207

208-
At this time, the only widget that is aware of the dataSource hierarchy is the TreeView. However, since the HierarchicalDataSource component inherits from the DataSource component, you can share the root level of the hierarchy with any DataSource-enabled component.
208+
Currently, the Kendo UI widgets that are aware of the dataSource hierarchy are the TreeView and the PanelBar. However, since the HierarchicalDataSource component inherits from the DataSource component, you can share the root level of the hierarchy with any DataSource-enabled component.
209209

210210
### Share HierarchicalDataSource between Widgets
211211

0 commit comments

Comments
 (0)