Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
id: MessageBase.type
type: String | undefined
default: undefined
type: Enums.MessageType
---
---
##### shortDescription
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: ColumnHeaderFilter.groupInterval
type: Enums.HeaderFilterGroupInterval | Number | undefined
type: Enums.HeaderFilterGroupInterval | Number | Array<String, Number> | undefined
default: undefined
---
---
Expand Down
12 changes: 12 additions & 0 deletions api-reference/_hidden/Enums/MessageType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
id: Enums.MessageType
acceptValues: 'text' | 'image'
type: Union
references: MessageBase.type
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Use the following `DataSource` members:

### 3) Configure `displayExpr`

Use [`displayExpr`](/api-reference/10%20UI%20Components/dxDropDownBox/1%20Configuration/displayExpr.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#displayExpr') to define how a selected record is displayed in the input:
Use [`displayExpr`](/api-reference/10%20UI%20Components/DataExpressionMixin/1%20Configuration/displayExpr.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#displayExpr') to define how a selected record is displayed in the input:

function displayExpr(item) {
if (!item || typeof item !== 'object') return '';
Expand All @@ -157,9 +157,9 @@ Configure the DropDownBox component. Use [`contentTemplate`](/api-reference/10%

To activate focused row and single row selection, specify the following settings:

- Enable [`focusedRowEnabled`](/api-reference/10%20UI%20Components/dxDataGrid/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowEnabled') to allow keyboard navigation.
- Use [`focusedRowKey`](/api-reference/10%20UI%20Components/dxDataGrid/1%20Configuration/focusedRowKey.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowKey') so search can focus the first match.
- Use single selection: [`selection.mode`](/api-reference/10%20UI%20Components/dxDataGrid/1%20Configuration/selection/mode.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/selection/#mode').
- Enable [`focusedRowEnabled`](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowEnabled') to allow keyboard navigation.
- Use [`focusedRowKey`](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowKey.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowKey') so search can focus the first match.
- Use single selection: [`selection.mode`](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/selection/mode.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/selection/#mode').

---
##### jQuery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Declare a data source for the TreeList.

### 3) Configure `displayExpr`

Use [`displayExpr`](/api-reference/10%20UI%20Components/dxDropDownBox/1%20Configuration/displayExpr.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#displayExpr') to define how a selected item appears in the input field.
Use [`displayExpr`](/api-reference/10%20UI%20Components/DataExpressionMixin/1%20Configuration/displayExpr.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#displayExpr') to define how a selected item appears in the input field.

Because the displayed text depends on lookup data (employee name from a related dataset), pre-load that data and resolve it in `displayExpr`:

Expand Down Expand Up @@ -229,7 +229,7 @@ Because the displayed text depends on lookup data (employee name from a related

### 4) Configure the Embedded TreeList in `contentTemplate`

Configure the DropDownBox component. Use [`contentTemplate`](/api-reference/10%20UI%20Components/dxDropDownBox/1%20Configuration/contentTemplate.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#contentTemplate') to render the TreeList. In the TreeList component, activate [`focusedRowEnabled`](/api-reference/10%20UI%20Components/dxTreeList/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxTreeList/Configuration/#focusedRowEnabled') and set single [`selection.mode`](/api-reference/10%20UI%20Components/dxTreeList/1%20Configuration/selection/mode.md '/Documentation/ApiReference/UI_Components/dxTreeList/Configuration/selection/#mode').
Configure the DropDownBox component. Use [`contentTemplate`](/api-reference/10%20UI%20Components/dxDropDownBox/1%20Configuration/contentTemplate.md '/Documentation/ApiReference/UI_Components/dxDropDownBox/Configuration/#contentTemplate') to render the TreeList. In the TreeList component, activate [`focusedRowEnabled`](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxTreeList/Configuration/#focusedRowEnabled') and set single [`selection.mode`](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/selection/mode.md '/Documentation/ApiReference/UI_Components/dxTreeList/Configuration/selection/#mode').

---
##### jQuery
Expand Down
3 changes: 3 additions & 0 deletions metadata/syntax-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21287,6 +21287,9 @@
"enums.MaskMode": {
"vue": "mask-mode"
},
"enums.MessageType": {
"vue": "message-type"
},
"enums.Mode": {
"vue": "mode"
},
Expand Down
Loading