Skip to content

Grids: Update "numeric" Data Type Mentions to "number" (#8622)#8627

Merged
arman-boyakhchyan merged 1 commit intoDevExpress:26_1from
arman-boyakhchyan:grids-number-datatype-fixes-26-1
Mar 27, 2026
Merged

Grids: Update "numeric" Data Type Mentions to "number" (#8622)#8627
arman-boyakhchyan merged 1 commit intoDevExpress:26_1from
arman-boyakhchyan:grids-number-datatype-fixes-26-1

Conversation

@arman-boyakhchyan
Copy link
Copy Markdown
Contributor

No description provided.

@arman-boyakhchyan arman-boyakhchyan self-assigned this Mar 27, 2026
Copilot AI review requested due to automatic review settings March 27, 2026 13:01
Copy link
Copy Markdown

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

Updates Grid/Cards documentation to use the "number" data type name instead of "numeric" in examples and reference text.

Changes:

  • Replaced dataType="numeric" with dataType="number" in React usage examples.
  • Updated filter operation documentation table to list "number" instead of "numeric".
  • Reworded the dataType property description to reference "number" and improve clarity.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
api-reference/_hidden/GridBaseColumn/setCellValue.md Updates example column dataType from "numeric" to "number".
api-reference/_hidden/GridBaseColumn/filterOperations.md Updates filter-operations table to use "number" data type label.
api-reference/_hidden/GridBaseColumn/dataType.md Rephrases description and updates terminology to "number"/"date".
api-reference/10 UI Components/dxCardView/9 Types/ColumnProperties/setFieldValue.md Updates example column dataType from "numeric" to "number".


---
If a data field provides values of one data type, but the UI component should cast them to another, specify the proper type in this property. In the following code, values of the `ID` and `hireDate` fields are cast to numeric and date data types, respectively.
If data fields contain values of one type but the UI component requires another, set the correct type in this property. The following code snippet casts the `ID` and `hireDate` column values to *"number"* and *"date"* types, respectively:
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

The string literal values are formatted as italicized quoted strings (*"number"*). For consistency and to make it clear these are literal dataType values, prefer code formatting (for example, using backticks) and avoid nested quotes/italics.

Suggested change
If data fields contain values of one type but the UI component requires another, set the correct type in this property. The following code snippet casts the `ID` and `hireDate` column values to *"number"* and *"date"* types, respectively:
If data fields contain values of one type but the UI component requires another, set the correct type in this property. The following code snippet casts the `ID` and `hireDate` column values to `number` and `date` types, respectively:

Copilot uses AI. Check for mistakes.
@arman-boyakhchyan arman-boyakhchyan merged commit e48eda9 into DevExpress:26_1 Mar 27, 2026
9 of 10 checks passed
@arman-boyakhchyan arman-boyakhchyan deleted the grids-number-datatype-fixes-26-1 branch March 27, 2026 13:07
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.

3 participants