Skip to content

Commit 12a823f

Browse files
authored
List: Unused identifiers has been removed (#30074)
Cherry pick of #30073
1 parent fc86295 commit 12a823f

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

packages/devextreme/js/__internal/ui/list/m_list.base.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ export class ListBase extends CollectionWidget<ListBaseProperties> {
100100

101101
_groupRenderAction?: () => void;
102102

103-
_renderingGroupIndex?: unknown;
104-
105103
_itemElementsCache!: dxElementWrapper;
106104

107105
_isLoadIndicationSuppressed?: boolean;
@@ -1017,8 +1015,6 @@ export class ListBase extends CollectionWidget<ListBaseProperties> {
10171015
.addClass(LIST_GROUP_HEADER_INDICATOR_CLASS)
10181016
.prependTo($groupHeaderElement);
10191017

1020-
this._renderingGroupIndex = index;
1021-
10221018
const groupBodyId = `dx-${new Guid().toString()}`;
10231019

10241020
const $groupBody = $('<div>')

packages/devextreme/js/__internal/ui/list/m_list.edit.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,6 @@ class ListEdit extends ListBase {
284284
super._itemHoldHandler(...arguments);
285285
}
286286

287-
_getItemContainer(changeData) {
288-
if (this.option('grouped')) {
289-
const groupIndex = this._editStrategy.getIndexByItemData(changeData)?.group;
290-
return this._getGroupContainerByIndex(groupIndex);
291-
}
292-
// @ts-expect-error ts-error
293-
return super._getItemContainer(changeData);
294-
}
295-
296287
_itemContextMenuHandler(e): void {
297288
const $itemElement = $(e.currentTarget);
298289
if ($itemElement.is('.dx-state-disabled, .dx-state-disabled *')) {
@@ -351,7 +342,6 @@ class ListEdit extends ListBase {
351342
break;
352343
case 'grouped':
353344
this._clearSelectedItems();
354-
delete this._renderingGroupIndex;
355345
this._initEditStrategy();
356346
super._optionChanged(args);
357347
break;

0 commit comments

Comments
 (0)