Skip to content

Conversation

@EugeniyKiyashko
Copy link
Contributor

No description provided.

@EugeniyKiyashko EugeniyKiyashko self-assigned this Jan 22, 2026
@EugeniyKiyashko EugeniyKiyashko marked this pull request as ready for review January 22, 2026 07:21
@EugeniyKiyashko EugeniyKiyashko requested a review from a team as a code owner January 22, 2026 07:21
Copilot AI review requested due to automatic review settings January 22, 2026 07:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where custom properties on grouped data items were being lost in the List component. When users pass grouped data with custom properties (e.g., { key: 'Group 1', items: [...], customProp: 'value' }), these properties should be accessible in the groupTemplate callback and preserved in the data source.

Changes:

  • Modified the grouped data converter to bypass transformation when group items contain additional properties beyond the standard key and items
  • Added comprehensive test coverage for single groups, mixed groups, and groupTemplate access scenarios

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/devextreme/js/__internal/data/data_converter/grouped.ts Added property count check to skip data transformation when custom properties exist on group items, preserving them through the data pipeline
packages/devextreme/testing/tests/DevExpress.ui.widgets/listParts/commonTests.js Added three test cases to verify custom properties are preserved in grouped items and accessible in groupTemplate

@EugeniyKiyashko EugeniyKiyashko merged commit 483e04d into DevExpress:26_1 Jan 22, 2026
121 of 123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants