Skip to content

Commit

Permalink
Revert "Merge branch '24_2' into on-selection-changing24_2"
Browse files Browse the repository at this point in the history
This reverts commit 07500ad, reversing
changes made to 6304de2.
  • Loading branch information
vladaskorohodova committed Oct 17, 2024
1 parent 07500ad commit c9473f9
Show file tree
Hide file tree
Showing 61 changed files with 360 additions and 256 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ default: null
##### shortDescription
A function that is executed before a collection item is selected.

##### param(e): Object
<!-- Description goes here -->
##### param(e): ui/collection/ui.collection_widget.base:SelectionChangingEvent
Information about the event.

##### field(e.addedItems): Array<any>
The data of the items that have been selected.
Expand All @@ -25,8 +25,5 @@ The UI component's instance.
##### field(e.removedItems): Array<any>
The data of the items whose selection has been canceled.

##### field(e.model): any
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: SelectionChangeInfo
id: SelectionChangedInfo
module: ui/collection/ui.collection_widget.base
export: SelectionChangeInfo
export: SelectionChangedInfo
hidden:
generateTypeLink:
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: SelectionChangeInfo.addedItems
id: SelectionChangedInfo.addedItems
type: Array<any>
---
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
id: GridBase.Options.columnFixing.icons.fix
id: SelectionChangedInfo.removedItems
type: Array<any>
---
---
##### shortDescription
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
id: SelectionChangingEvent
module: ui/collection/ui.collection_widget.base
export: SelectionChangingEvent
type: Object
inherits: AsyncCancelable,EventInfo,SelectionChangingInfo
references: CollectionWidget.Options.onSelectionChanging
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: SelectionChangeInfo.removedItems
id: SelectionChangingInfo.addedItems
type: Array<any>
---
---
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
id: SelectionChangingInfo.removedItems
type: Array<any>
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ firedEvents: focusedRowChanged
Specifies or indicates the focused data row's index.

---
Ensure that [focusedRowEnabled](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowEnabled') is `true` for **focusedRowIndex** to work.

The focused row has a [key](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowKey.md '{basewidgetpath}/Configuration/#focusedRowKey') and index on a page. When the [pager](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/pager '{basewidgetpath}/Configuration/pager/') is used for navigation, the focused row's index persists from page to page, but corresponds to a different row with a different key on each page.

The default index of *-1* indicates that no row is focused.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ firedEvents: focusedRowChanged
Specifies initially or currently focused grid row's key.

---
Ensure that [focusedRowEnabled](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowEnabled.md '/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#focusedRowEnabled') is `true` for **focusedRowKey** to work.

The focused row has a key and [index](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/focusedRowIndex.md '{basewidgetpath}/Configuration/#focusedRowIndex') on a page. When the [pager](/api-reference/10%20UI%20Components/GridBase/1%20Configuration/pager '{basewidgetpath}/Configuration/pager/') is used for navigation, the focused row's index persists from page to page but corresponds to a different row with a different key on each page.

In the DataGrid, group rows can also be focused. See the [Group Index and Key](/concepts/05%20UI%20Components/DataGrid/45%20Grouping/20%20API/05%20Group%20Index%20and%20Key.md '/Documentation/Guide/UI_Components/DataGrid/Grouping/#API/Group_Index_and_Key') topic for more information on how group keys are formed.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: GridBase.Options.pager
type: Pager
type: common/grids:Pager
inheritsType: common/grids:Pager
---
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ State storing saves the following properties:
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#filterValues">filterValues</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#fixed">fixed</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#fixedPosition">fixedPosition</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#groupIndex">groupIndex</a> (ensure <a href="{basewidgetpath}/Configuration/groupPanel/#visible">groupPanel.visible</a> and <a href="{basewidgetpath}/Configuration/grouping/#contextMenuEnabled">grouping.contextmenuEnabled</a> are enabled for <b>groupIndex</b> to restore)</li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#groupIndex">groupIndex</a></li>
</ul>
</td>
<td>
Expand All @@ -44,7 +44,7 @@ State storing saves the following properties:
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#selectedFilterOperation">selectedFilterOperation</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#sortIndex">sortIndex</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#sortOrder">sortOrder</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#visible">visible</a> (ensure the <a href="{basewidgetpath}/Configuration/columnChooser/">column chooser</a> is <a href="{basewidgetpath}/Configuration/columnChooser/#enabled">enabled</a> for <b>visible</b> to restore)</li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#visible">visible</a> (only if the <a href="{basewidgetpath}/Configuration/columnChooser/">column chooser</a> is <a href="{basewidgetpath}/Configuration/columnChooser/#enabled">enabled</a>)</li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#visibleIndex">visibleIndex</a></li>
<li><b>columns</b>.<a href="{basewidgetpath}/Configuration/columns/#width">width</a></li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module: ui/accordion
export: SelectionChangedEvent
type: Object
inherits: EventInfo,SelectionChangeInfo
inherits: EventInfo,SelectionChangedInfo
uid: ui/accordion:SelectionChangedEvent
generateTypeLink:
references: dxAccordion.Options.onSelectionChanged
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
id: dxAutocomplete.Options.onSelectionChanging
type: function(e)
---
---
##### shortDescription
<!-- Description goes here -->

##### param(e): ui/autocomplete:SelectionChangingEvent
<!-- Description goes here -->

##### field(e.cancel): Boolean | Promise<Boolean>
<!-- Description goes here -->

##### field(e.component): {WidgetName}
<!-- Description goes here -->

##### field(e.element): DxElement
<!-- Description goes here -->

##### field(e.selectedItem): Object
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
module: ui/autocomplete
export: SelectionChangingEvent
type: Object
inherits: AsyncCancelable,EventInfo,_ui_drop_down_editor_ui_drop_down_list_SelectionChangingInfo
references: dxAutocomplete.Options.onSelectionChanging
uid: ui/autocomplete:SelectionChangingEvent
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module: ui/button_group
export: SelectionChangedEvent
type: Object
inherits: EventInfo,SelectionChangeInfo
inherits: EventInfo,SelectionChangedInfo
uid: ui/button_group:SelectionChangedEvent
generateTypeLink:
references: dxButtonGroup.Options.onSelectionChanged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ Specifies what to do with axis labels that overflow the allocated space after ap

---
The **textOverflow** property does not apply if the [displayMode](/api-reference/10%20UI%20Components/dxChart/1%20Configuration/commonAxisSettings/label/displayMode.md '/Documentation/ApiReference/UI_Components/dxChart/Configuration/commonAxisSettings/label/#displayMode') or [overlappingBehavior](/api-reference/10%20UI%20Components/dxChart/1%20Configuration/commonAxisSettings/label/overlappingBehavior.md '/Documentation/ApiReference/UI_Components/dxChart/Configuration/commonAxisSettings/label/#overlappingBehavior') property is used to rotate axis labels.

[note] This property has no effect if you use a [template](/api-reference/10%20UI%20Components/dxChart/1%20Configuration/commonAxisSettings/label/template.md '/Documentation/ApiReference/UI_Components/dxChart/Configuration/commonAxisSettings/label/#template').
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ This property affects the vertical axis only when the [placeholderSize](/api-ref
#include dataviz-ref-wordwrap with {
textOverflow_link: "/Documentation/ApiReference/UI_Components/dxChart/Configuration/commonAxisSettings/label/#textOverflow"
}

[note] This property has no effect if you use a [template](/api-reference/10%20UI%20Components/dxChart/1%20Configuration/commonAxisSettings/label/template.md '/Documentation/ApiReference/UI_Components/dxChart/Configuration/commonAxisSettings/label/#template').
1 change: 1 addition & 0 deletions api-reference/10 UI Components/dxChat/9 Types/User/id.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: User.id
type: Number | String
default: string
---
---
##### shortDescription
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module: ui/context_menu
export: SelectionChangedEvent
type: Object
inherits: EventInfo,SelectionChangeInfo
inherits: EventInfo,SelectionChangedInfo
uid: ui/context_menu:SelectionChangedEvent
generateTypeLink:
references: dxContextMenu.Options.onSelectionChanged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ See the [format](/api-reference/50%20Common/Object%20Structures/format '/Documen
href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/GroupSummaries/"
}

[note] This option has no effect if a summary item value is not a number or Date.

#####See Also#####
- [Format Text and Value](/concepts/05%20UI%20Components/DataGrid/65%20Summaries/40%20Format%20Text%20and%20Value.md '/Documentation/Guide/UI_Components/DataGrid/Summaries/Format_Text_and_Value/')
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ See the [format](/api-reference/50%20Common/Object%20Structures/format '/Documen
href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/GridSummaries/"
}

[note] This option has no effect if a summary item value is not a number or Date.

#####See Also#####
- [Format Text and Value](/concepts/05%20UI%20Components/DataGrid/65%20Summaries/40%20Format%20Text%20and%20Value.md '/Documentation/Guide/UI_Components/DataGrid/Summaries/Format_Text_and_Value/')
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
id: dxDropDownList.Options.onSelectionChanging
type: function(e)
default: null
---
---
##### shortDescription
A function that is executed before a collection item is selected.

##### param(e): ui/drop_down_editor/ui.drop_down_list:SelectionChangingEvent
Information about the event.

##### field(e.addedItems): Array<any>
The data of the items that have been selected.

##### field(e.cancel): Boolean | Promise<Boolean>
Allows you to cancel the item selection.

##### field(e.component): {WidgetName}
The UI component's instance.

##### field(e.element): DxElement
#include common-ref-elementparam with { element: "UI component" }

##### field(e.removedItems): Array<any>
The data of the items whose selection has been canceled.

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
id: GridBase.Options.columnFixing.icons.leftPosition
id: dxDropDownList.selectionChanging
type: eventType
---
---
##### shortDescription
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
module: ui/drop_down_editor/ui.drop_down_list
export: SelectionChangingEvent
type: Object
inherits: AsyncCancelable,EventInfo,SelectionChangingInfo
references: dxDropDownList.Options.onSelectionChanging
uid: ui/drop_down_editor/ui.drop_down_list:SelectionChangingEvent
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: _ui_drop_down_editor_ui_drop_down_list_SelectionChangingInfo
module: ui/drop_down_editor/ui.drop_down_list
export: SelectionChangingInfo
hidden:
generateTypeLink:
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
id: _ui_drop_down_editor_ui_drop_down_list_SelectionChangingInfo.selectedItem
type: Object
---
---
##### shortDescription
<!-- Description goes here -->

---
<!-- Description goes here -->
Loading

0 comments on commit c9473f9

Please sign in to comment.