Skip to content

Commit

Permalink
SelectBox: update Configure Search Parameters article (#5958) (#5960)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaskorohodova authored Jan 25, 2024
1 parent 73cb1f8 commit 3d794f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[note] Searching works when inputting a plain data structure only. However, if you need the searching capability and hierarchical data, transform the plain data using the **DataSource**'s [group](/api-reference/30%20Data%20Layer/DataSource/1%20Configuration/group.md '/Documentation/ApiReference/Data_Layer/DataSource/Configuration/#group') property.
[note] Searching works when inputting a plain data structure only. However, if you need the searching capability and hierarchical data, use the **DataSource**'s [group](/api-reference/30%20Data%20Layer/DataSource/1%20Configuration/group.md '/Documentation/ApiReference/Data_Layer/DataSource/Configuration/#group') property to transform the plain data. For more information about grouping, refer to the following article: [Grouping in the Data Source](/Documentation/Guide/UI_Components/SelectBox/Grouping/In_the_Data_Source/).

The SelectBox UI component allows an end user to search through its items. This feature is disabled by default. To enable it, assign **true** to the [searchEnabled](/api-reference/10%20UI%20Components/dxSelectBox/1%20Configuration/searchEnabled.md '/Documentation/ApiReference/UI_Components/dxSelectBox/Configuration/#searchEnabled') property. Use the [searchExpr](/api-reference/10%20UI%20Components/dxSelectBox/1%20Configuration/searchExpr.md '/Documentation/ApiReference/UI_Components/dxSelectBox/Configuration/#searchExpr') property to specify which data fields should be searched. Assign an _array_ of field names to this property if you need to search several fields.
The SelectBox UI component allows an end user to search through its items. To enable this feature, assign **true** to the [searchEnabled](/api-reference/10%20UI%20Components/dxSelectBox/1%20Configuration/searchEnabled.md '/Documentation/ApiReference/UI_Components/dxSelectBox/Configuration/#searchEnabled') property. Use the [searchExpr](/api-reference/10%20UI%20Components/dxSelectBox/1%20Configuration/searchExpr.md '/Documentation/ApiReference/UI_Components/dxSelectBox/Configuration/#searchExpr') property to specify which data fields should be searched. Assign an _array_ of field names to this property if you need to search several fields.

---
##### jQuery
Expand Down

0 comments on commit 3d794f8

Please sign in to comment.