Overhaul Shared Code Snippets#8972
Merged
arman-boyakhchyan merged 10 commits intoJul 15, 2026
Merged
Conversation
vladaskorohodova
approved these changes
Jul 10, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates shared DevExtreme documentation snippets to a more modern baseline (Vue 3 script setup + TypeScript, React function components/TSX, cleaner tab headers), and inlines some previously included notes into the API reference topic.
Changes:
- Modernizes framework samples (Vue Composition API + TS, React function components + TSX) and normalizes tab headers.
- Cleans up/condenses several snippets (imports, placeholders, HTTPS URLs, and minor formatting).
- Removes
grids-customize-columns-react-noteinclude and replaces it with inline notes in thecustomizeColumnsAPI topic.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| includes/uiwidgets-ref-validation-message.md | Refactors validation message examples (Vue script setup, React TSX function components). |
| includes/tutorials-editors-add-label.md | Updates label tutorial wording and converts Vue/React snippets to TS-oriented patterns. |
| includes/grids-customize-columns-react-note.md | Removes the React-specific note include (content moved inline elsewhere). |
| includes/dataviz-ref-gauges-indicator-types-snippet.md | Retitles Angular snippet tabs and converts React sample to TSX function component. |
| includes/dataviz-legend-customizeitems-example.md | Updates tab headers and modernizes Vue/React samples. |
| includes/dataviz-code-customsource.md | Standardizes tab headers, moves Angular parts into explicit tabs, and updates URLs/ES syntax. |
| includes/datalayer-ref-query-summarymethods-desc.md | Migrates Vue/React examples to Composition API / hooks and updates tab headers. |
| includes/custom-templates.md | Updates Vue and React samples to script setup / function component patterns and minor formatting. |
| includes/common-dataSource-description.md | Simplifies and modernizes jQuery/Vue/React snippets and tab headers. |
| includes/common-code-register-key-handler.md | Modernizes jQuery/Vue/React examples and tightens Angular typing. |
| includes/common-code-on-initialized.md | Adds a Vue Composition API example and updates Angular/React typings around onInitialized. |
| includes/common-code-customsource-rawmode-withkey.md | Updates tab headers and modernizes Angular/Vue/React samples, switches URLs to HTTPS. |
| includes/common-code-customsource-rawmode-pagingdisabled.md | Updates tab headers and modernizes Angular/Vue/React samples, switches URLs to HTTPS. |
| api-reference/10 UI Components/dxDataGrid/1 Configuration/customizeColumns.md | Inlines and expands per-framework notes about customizeColumns limitations and modernizes samples. |
Co-authored-by: Mark Allen Ramirez <allen.ramirez@devsoft.ph>
Co-authored-by: Mark Allen Ramirez <21377435+markallenramirez@users.noreply.github.com>
Co-authored-by: Mark Allen Ramirez <21377435+markallenramirez@users.noreply.github.com>
Co-authored-by: Mark Allen Ramirez <21377435+markallenramirez@users.noreply.github.com>
| --- | ||
| ##### jQuery | ||
|
|
||
| [note] Columns created using **customizeColumns** do not support data shaping operations such as sorting, filtering, and summaries. |
Contributor
There was a problem hiding this comment.
Since all these have the same limitation, can we write it as:
Suggested change
| [note] Columns created using **customizeColumns** do not support data shaping operations such as sorting, filtering, and summaries. | |
| [note] | |
| - In all frameworks, columns created using **customizeColumns** do not support data shaping operations such as sorting, filtering, and summaries. | |
| - In React, you also cannot configure templates in **customizeColumns**, including render functions and components such as [cellRender](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#cellRender) and [cellComponent](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#cellComponent)). |
Contributor
Author
There was a problem hiding this comment.
We avoid displaying framework-specific information where the info is not relevant. I will apply your suggestion to the React-only note.
Co-authored-by: dirkpieterse <dirk.pieterse@devexpress.com>
arman-boyakhchyan
added a commit
that referenced
this pull request
Jul 16, 2026
arman-boyakhchyan
added a commit
that referenced
this pull request
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.