diff --git a/api-reference/10 UI Components/dxChat/9 Types/MessageBase/type.md b/api-reference/10 UI Components/dxChat/9 Types/MessageBase/type.md index 4cf47c2d65..7bea100477 100644 --- a/api-reference/10 UI Components/dxChat/9 Types/MessageBase/type.md +++ b/api-reference/10 UI Components/dxChat/9 Types/MessageBase/type.md @@ -1,7 +1,6 @@ --- id: MessageBase.type -type: String | undefined -default: undefined +type: Enums.MessageType --- --- ##### shortDescription diff --git a/api-reference/40 Common Types/15 grids/ColumnHeaderFilter/groupInterval.md b/api-reference/40 Common Types/15 grids/ColumnHeaderFilter/groupInterval.md index b7c3e717d9..451c0aae6d 100644 --- a/api-reference/40 Common Types/15 grids/ColumnHeaderFilter/groupInterval.md +++ b/api-reference/40 Common Types/15 grids/ColumnHeaderFilter/groupInterval.md @@ -1,6 +1,6 @@ --- id: ColumnHeaderFilter.groupInterval -type: Enums.HeaderFilterGroupInterval | Number | undefined +type: Enums.HeaderFilterGroupInterval | Number | Array | undefined default: undefined --- --- diff --git a/api-reference/_hidden/Enums/MessageType.md b/api-reference/_hidden/Enums/MessageType.md new file mode 100644 index 0000000000..aeb7ad04bd --- /dev/null +++ b/api-reference/_hidden/Enums/MessageType.md @@ -0,0 +1,12 @@ +--- +id: Enums.MessageType +acceptValues: 'text' | 'image' +type: Union +references: MessageBase.type +--- +--- +##### shortDescription + + +--- + \ No newline at end of file diff --git a/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/05 Search by Field Values (DataGrid).md b/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/05 Search by Field Values (DataGrid).md index f0f128aa52..0387f139cb 100644 --- a/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/05 Search by Field Values (DataGrid).md +++ b/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/05 Search by Field Values (DataGrid).md @@ -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 ''; @@ -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 diff --git a/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/10 Search by Lookup Column (TreeList).md b/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/10 Search by Lookup Column (TreeList).md index cf6b790dca..36cecedd80 100644 --- a/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/10 Search by Lookup Column (TreeList).md +++ b/concepts/05 UI Components/DropDownBox/20 Search in Embedded Components/10 Search by Lookup Column (TreeList).md @@ -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`: @@ -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 diff --git a/metadata/syntax-data.json b/metadata/syntax-data.json index d4ecc1b30c..aad54afaa3 100644 --- a/metadata/syntax-data.json +++ b/metadata/syntax-data.json @@ -21287,6 +21287,9 @@ "enums.MaskMode": { "vue": "mask-mode" }, + "enums.MessageType": { + "vue": "message-type" + }, "enums.Mode": { "vue": "mode" },