Skip to content

Demo DataGrid - Update years in Orders data#33401

Merged
markallenramirez merged 12 commits intoDevExpress:26_1from
markallenramirez:update_data/26_1
Apr 27, 2026
Merged

Demo DataGrid - Update years in Orders data#33401
markallenramirez merged 12 commits intoDevExpress:26_1from
markallenramirez:update_data/26_1

Conversation

@markallenramirez
Copy link
Copy Markdown
Contributor

Demos that use the same Orders data:
Total Summaries
Group Summaries
Custom Summaries
Recalculate While Editing
State Persistence
Toolbar
Columns Hiding Priority
Adaptability
Resizable

@markallenramirez markallenramirez self-assigned this Apr 24, 2026
Copilot AI review requested due to automatic review settings April 24, 2026 05:33
@markallenramirez markallenramirez requested review from a team as code owners April 24, 2026 05:33
Copy link
Copy Markdown
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 refreshes the sample “Orders” datasets used across multiple DataGrid and Resizable demos by updating OrderDate values from the 2013/2014 timeframe to 2023/2024, keeping the demo data more current.

Changes:

  • Updated OrderDate year values in Resizable demo Orders datasets (jQuery/Vue/React/ReactJs).
  • Updated OrderDate year values in several DataGrid demo Orders datasets (Toolbar, RecalculateWhileEditing, GroupSummaries, GridSummaries, CustomSummaries, ColumnsHidingPriority, GridAdaptabilityOverview).
  • Adjusted the “previous year” boundary entry (e.g., 2013-12-312023-12-31) in demos that include it.

Reviewed changes

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

Show a summary per file
File Description
apps/demos/Demos/Resizable/Overview/jQuery/data.js Update Orders sample OrderDate years for Resizable demo
apps/demos/Demos/Resizable/Overview/Vue/data.ts Update Orders sample OrderDate years for Resizable demo
apps/demos/Demos/Resizable/Overview/ReactJs/data.js Update Orders sample OrderDate years for Resizable demo
apps/demos/Demos/Resizable/Overview/React/data.ts Update Orders sample OrderDate years for Resizable demo
apps/demos/Demos/DataGrid/Toolbar/jQuery/data.js Update Orders sample OrderDate years for Toolbar demo
apps/demos/Demos/DataGrid/Toolbar/Vue/data.ts Update Orders sample OrderDate years for Toolbar demo
apps/demos/Demos/DataGrid/Toolbar/ReactJs/data.js Update Orders sample OrderDate years for Toolbar demo
apps/demos/Demos/DataGrid/Toolbar/React/data.ts Update Orders sample OrderDate years for Toolbar demo
apps/demos/Demos/DataGrid/Toolbar/Angular/app/app.service.ts Update Orders sample OrderDate years for Toolbar demo
apps/demos/Demos/DataGrid/RecalculateWhileEditing/jQuery/data.js Update Orders sample OrderDate years for RecalculateWhileEditing demo
apps/demos/Demos/DataGrid/RecalculateWhileEditing/ReactJs/data.js Update Orders sample OrderDate years for RecalculateWhileEditing demo
apps/demos/Demos/DataGrid/RecalculateWhileEditing/React/data.ts Update Orders sample OrderDate years for RecalculateWhileEditing demo
apps/demos/Demos/DataGrid/RecalculateWhileEditing/Angular/app/app.service.ts Update Orders sample OrderDate years for RecalculateWhileEditing demo
apps/demos/Demos/DataGrid/GroupSummaries/jQuery/data.js Update Orders sample OrderDate years for GroupSummaries demo
apps/demos/Demos/DataGrid/GroupSummaries/ReactJs/data.js Update Orders sample OrderDate years for GroupSummaries demo
apps/demos/Demos/DataGrid/GroupSummaries/React/data.ts Update Orders sample OrderDate years for GroupSummaries demo
apps/demos/Demos/DataGrid/GroupSummaries/Angular/app/app.service.ts Update Orders sample OrderDate years for GroupSummaries demo
apps/demos/Demos/DataGrid/GridSummaries/jQuery/data.js Update Orders sample OrderDate years for GridSummaries demo
apps/demos/Demos/DataGrid/GridSummaries/Vue/data.ts Update Orders sample OrderDate years for GridSummaries demo
apps/demos/Demos/DataGrid/GridSummaries/ReactJs/data.js Update Orders sample OrderDate years for GridSummaries demo
apps/demos/Demos/DataGrid/GridSummaries/React/data.ts Update Orders sample OrderDate years for GridSummaries demo
apps/demos/Demos/DataGrid/GridSummaries/Angular/app/app.service.ts Update Orders sample OrderDate years for GridSummaries demo
apps/demos/Demos/DataGrid/GridAdaptabilityOverview/jQuery/data.js Update Orders sample OrderDate years for Adaptability overview demo
apps/demos/Demos/DataGrid/CustomSummaries/jQuery/data.js Update Orders sample OrderDate years for CustomSummaries demo
apps/demos/Demos/DataGrid/CustomSummaries/Vue/data.ts Update Orders sample OrderDate years for CustomSummaries demo
apps/demos/Demos/DataGrid/CustomSummaries/ReactJs/data.js Update Orders sample OrderDate years for CustomSummaries demo
apps/demos/Demos/DataGrid/CustomSummaries/React/data.ts Update Orders sample OrderDate years for CustomSummaries demo
apps/demos/Demos/DataGrid/CustomSummaries/Angular/app/app.service.ts Update Orders sample OrderDate years for CustomSummaries demo
apps/demos/Demos/DataGrid/ColumnsHidingPriority/jQuery/data.js Update Orders sample OrderDate years for ColumnsHidingPriority demo

Comment on lines 113 to 117
ID: 30,
OrderNumber: 57429,
OrderDate: '2014/05/16',
OrderDate: '2023/12/31',
SaleAmount: 11050,
Terms: '30 Days',
Copy link
Copy Markdown
Contributor Author

@markallenramirez markallenramirez Apr 24, 2026

Choose a reason for hiding this comment

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

This change is intended for correction. The Adaptability and Resizable demos have this 2014/05/16 data while the rest use 2013/12/31.

Comment thread apps/demos/Demos/Resizable/Overview/React/data.ts
Comment thread apps/demos/Demos/DataGrid/GridAdaptabilityOverview/jQuery/data.js
Comment thread apps/demos/Demos/Resizable/Overview/jQuery/data.js
Comment thread apps/demos/Demos/Resizable/Overview/Vue/data.ts
@Tucchhaa
Copy link
Copy Markdown
Contributor

Tucchhaa commented Apr 27, 2026

Resizable demo visual test hasn't failed, despite its etalon has dates on it: https://github.com/DevExpress/DevExtreme/blob/e722f9489198f8f193cfcfdcfdd47393061d8667/apps/demos/testing/etalons/Resizable-Overview%20%28fluent.blue.light%29.png

I suspect this test passes due to some color tolerance, but stale screenshot can make this test flaky. Please update this etalon (material theme etalon too)

Copilot AI review requested due to automatic review settings April 27, 2026 07:02
Copy link
Copy Markdown
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 updates the hardcoded Orders demo datasets used across several DataGrid/Resizable demos to use more recent years (primarily 2024, with one intentional 2023-12-31 correction), keeping demo content current and aligning shared datasets across frameworks.

Changes:

  • Updated OrderDate values in multiple demo data sources (jQuery/React/ReactJs/Vue/Angular) from 2013/2014 to 2023/2024.
  • Kept the known special-case correction for Order ID 30 as 2023-12-31 / 2023/12/31 / new Date(2023, 11, 31) where applicable.
  • Updated Resizable demo visual etalons to match the new dataset output.

Reviewed changes

Copilot reviewed 45 out of 58 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/demos/testing/etalons/Resizable-Overview (material.blue.light).png Updated visual baseline for Resizable Overview after Orders date changes.
apps/demos/testing/etalons/Resizable-Overview (fluent.blue.light).png Updated visual baseline for Resizable Overview after Orders date changes.
apps/demos/Demos/Resizable/Overview/jQuery/data.js Bumped Orders OrderDate strings to 2024; includes the intended 2023-12-31 correction for ID 30.
apps/demos/Demos/Resizable/Overview/Vue/data.ts Same Orders OrderDate year update for the Vue Resizable Overview dataset.
apps/demos/Demos/Resizable/Overview/ReactJs/data.js Same Orders OrderDate year update for the ReactJs Resizable Overview dataset.
apps/demos/Demos/Resizable/Overview/React/data.ts Same Orders OrderDate year update for the React Resizable Overview dataset.
apps/demos/Demos/DataGrid/Toolbar/jQuery/data.js Updated Orders OrderDate Date objects to 2024 (and 2023-12-31 for ID 30).
apps/demos/Demos/DataGrid/Toolbar/Vue/data.ts Updated Orders OrderDate Date objects to 2024 (and 2023-12-31 for ID 30) in Vue dataset.
apps/demos/Demos/DataGrid/Toolbar/ReactJs/data.js Updated Orders OrderDate Date objects to 2024 (and 2023-12-31 for ID 30) in ReactJs dataset.
apps/demos/Demos/DataGrid/Toolbar/React/data.ts Updated Orders OrderDate Date objects to 2024 (and 2023-12-31 for ID 30) in React dataset.
apps/demos/Demos/DataGrid/Toolbar/Angular/app/app.service.ts Updated Orders OrderDate Date objects to 2024 (and 2023-12-31 for ID 30) in Angular service dataset.
apps/demos/Demos/DataGrid/RecalculateWhileEditing/jQuery/data.js Updated Orders OrderDate ISO-like strings to 2024 (and 2023-12-31 for ID 30).
apps/demos/Demos/DataGrid/RecalculateWhileEditing/ReactJs/data.js Same Orders OrderDate year update for ReactJs dataset.
apps/demos/Demos/DataGrid/RecalculateWhileEditing/React/data.ts Same Orders OrderDate year update for React dataset.
apps/demos/Demos/DataGrid/RecalculateWhileEditing/Angular/app/app.service.ts Same Orders OrderDate year update for Angular service dataset.
apps/demos/Demos/DataGrid/GroupSummaries/jQuery/data.js Updated Orders OrderDate strings to 2024 (and 2023-12-31 for ID 30).
apps/demos/Demos/DataGrid/GroupSummaries/ReactJs/data.js Same Orders OrderDate year update for ReactJs dataset.
apps/demos/Demos/DataGrid/GroupSummaries/React/data.ts Same Orders OrderDate year update for React dataset.
apps/demos/Demos/DataGrid/GroupSummaries/Angular/app/app.service.ts Same Orders OrderDate year update for Angular service dataset.
apps/demos/Demos/DataGrid/GridSummaries/jQuery/data.js Updated Orders OrderDate strings to 2024 (and 2023-12-31 for ID 30).
apps/demos/Demos/DataGrid/GridSummaries/Vue/data.ts Same Orders OrderDate year update for Vue dataset.
apps/demos/Demos/DataGrid/GridSummaries/ReactJs/data.js Same Orders OrderDate year update for ReactJs dataset.
apps/demos/Demos/DataGrid/GridSummaries/React/data.ts Same Orders OrderDate year update for React dataset.
apps/demos/Demos/DataGrid/GridSummaries/Angular/app/app.service.ts Same Orders OrderDate year update for Angular service dataset.
apps/demos/Demos/DataGrid/GridAdaptabilityOverview/jQuery/data.js Updated Orders OrderDate strings to 2024; includes the intended 2023/12/31 correction for ID 30.
apps/demos/Demos/DataGrid/CustomSummaries/jQuery/data.js Updated Orders OrderDate strings to 2024 (and 2023-12-31 for ID 30).
apps/demos/Demos/DataGrid/CustomSummaries/Vue/data.ts Same Orders OrderDate year update for Vue dataset.
apps/demos/Demos/DataGrid/CustomSummaries/ReactJs/data.js Same Orders OrderDate year update for ReactJs dataset.
apps/demos/Demos/DataGrid/CustomSummaries/React/data.ts Same Orders OrderDate year update for React dataset.
apps/demos/Demos/DataGrid/CustomSummaries/Angular/app/app.service.ts Same Orders OrderDate year update for Angular service dataset.
apps/demos/Demos/DataGrid/ColumnsHidingPriority/jQuery/data.js Updated Orders OrderDate strings to 2024; includes the intended 2023/12/31 correction for ID 30.

@markallenramirez markallenramirez merged commit 02380ca into DevExpress:26_1 Apr 27, 2026
126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants