diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/accessibility.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/accessibility.md
index 97a493c27e..b05e8e64d6 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/accessibility.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/accessibility.md
@@ -1,7 +1,7 @@
---
layout: post
title: Accessibility in EJ2 ASP.NET CORE Spreadsheet Control
-description: "Documentation for the accessibility in the Essential JS2 Spreadsheet, featuring WAI-ARIA standards."
+description: "Documentation for accessibility in the Essential JS2 Spreadsheet, featuring WAI-ARIA standards."
platform: document-processing
control: Accessibility
documentation: ug
@@ -9,7 +9,7 @@ documentation: ug
# Accessibility in EJ2 ASP.NET CORE Spreadsheet Control
-The Spreadsheet control followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
+The Spreadsheet control follows accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
The accessibility compliance for the Spreadsheet control is outlined below.
@@ -39,12 +39,12 @@ The accessibility compliance for the Spreadsheet control is outlined below.
## WAI-ARIA attributes
-The Spreadsheet control followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns to meet the accessibility. The following ARIA attributes are used in the Spreadsheet control:
+The Spreadsheet control follows [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns to meet the accessibility. The following ARIA attributes are used in the Spreadsheet control:
| Attributes | Purpose |
|-------|---------|
| `grid` (role) | This role is added to the spreadsheet content table and describes the collection of rows and columns. |
-| `gridcell` (role) | This role is added to the cell element and describes the rows `
` element. |
+| `gridcell` (role) | This role is added to a cell element and represents an individual cell within a row. |
| `rowheader` (role) | This role is added to the row header and describes the header of the rows. |
| `colheader` (role) | This role is added to the column header and describes the header of the columns. |
| `aria-rowindex` (attribute) | This attribute describes the table's row index in the spreadsheet. |
@@ -56,12 +56,14 @@ The Spreadsheet control followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/
| `aria-label` (attribute) | This attribute describes the accessible name for the interactive elements. |
| `textbox` (role) | This role is assigned to the textbox that accepts text input. |
| `menu` (role) | This role has been added to the menu and describes the menu items. |
-| `aria-expanded` (attribute) | This attribute describes the control (for example, dropdown) is expanded or collapsed. |
-| `aria-multiline` (attribute) | This attribute defines what the Alt + Enter key does in the spreadsheet editor. |
+| `aria-expanded` (attribute) | This attribute describes whether a control (for example, a dropdown) is expanded or collapsed. |
+| `aria-multiline` (attribute) | This attribute indicates whether a textbox accepts multiple lines of input. |
## Keyboard interaction
-The Spreadsheet control followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Spreadsheet control.
+The Spreadsheet control follows [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guidelines, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Spreadsheet control.
+
+### Navigation Mode
| Press | To do this |
|----------|-------------|
@@ -71,15 +73,15 @@ The Spreadsheet control followed the [keyboard interaction](https://www.w3.org/W
| Right arrow | Navigate from the active cell to the next cell in the same row. |
| Tab | Navigate the active cell to the next cell in the same row. |
| Shift + Tab | Navigate the active cell to the previous cell in the same row. |
-| Home | Moves the selection to starting column in worksheet. |
+| Home | Move the selection to the first column in the worksheet. |
| Ctrl + Home | Move the selection to the first visible cell on a worksheet. |
| Shift + Home | Extend the cell selection to the first column of a worksheet. |
| Ctrl + Shift + Home | Extend the selection of cells to the beginning of the worksheet. |
-| Ctrl + End | Move to the last cell on a worksheet, right most last column and last row cell. |
+| Ctrl + End | Move the selection to the last cell in the worksheet (the intersection of the last row and last column). |
| Page Up | Move page up. |
| Page Down | Move page down. |
-| Shift + Page Up | Perform page up by selecting all cells between. |
-| Shift + Page Down | Perform page down by selecting all cells between. |
+| Shift + Page Up | Extend the selection upward by one page. |
+| Shift + Page Down | Extend the selection downward by one page. |
| Ctrl + Up | Navigate to the non-blank cell before the active cell in the same column. |
| Ctrl + Down | Navigate to the last non-blank cell in the same column as the active cell. |
| Ctrl + Left | Navigate to the non-blank cell before the active cell in the same row. |
@@ -94,14 +96,26 @@ The Spreadsheet control followed the [keyboard interaction](https://www.w3.org/W
| Ctrl + Shift + Right | Extend the cell selection to the last non-blank cell in the same row as the active cell. |
| Enter | Navigate the active cell to the next cell in the same column. |
| Shift + Enter | Navigate to the previous cell in the same column from the active cell. |
-| Alt + Enter | While editing, add a new line. |
+
+
+### Edit Mode
+
+| Press | To do this |
+|----------|-------------|
+| Alt + Enter | Insert a new line while editing a cell. |
| Enter | Complete the cell editing and select the cell below in the same column. |
| Shift + Enter | Complete the cell editing and select the cell above in the same column. |
| Tab | Complete the cell editing and select the next cell in the same row. |
| Shift + Tab | Complete the cell editing and select the previous cell in the same row. |
+
+
+### Ribbon Navigation
+
+| Press | To do this |
+|----------|-------------|
| Alt | Focus on the active ribbon tab. |
-| Left | Move the focus to the previous items in the ribbon content. |
-| Right | Move the focus to the next items in the ribbon content. |
+| Left arrow | Move the focus to the previous item in the ribbon content. |
+| Right arrow | Move the focus to the next item in the ribbon content. |
| Alt + Down | Open the ribbon dropdown menu. |
| Esc / Alt + Up | Close the ribbon dropdown menu. |
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-node-js-server.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-node-js-server.md
index 2227a0eb6a..801f6d9f68 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-node-js-server.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-node-js-server.md
@@ -13,7 +13,7 @@ AI Assist requires a backend service to process prompts and return AI-generated
## Prerequisites
-Ensure the following are available before you begin.
+Before you begin, ensure that the following prerequisites are available.
### Azure OpenAI credentials
@@ -163,7 +163,7 @@ Run the following command to start the server:
npm start
```
-The server runs on `http://localhost:3000`. Update the AI Assist endpoint like below:
+By default, the server runs at `http://localhost:3000`. Configure AI Assist to use the following endpoint:
```
http://localhost:3000/api/AIAssist/Chat
@@ -231,6 +231,6 @@ npm start
[Download Node.js Server](https://drive.google.com/file/d/1V3TlO_6GS3dV986I7sDizmE9kwojkOrx/view?usp=drive_link)
-## See also
+## See Also
* [Web API (.NET) server setup](./using-web-api)
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-web-api.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-web-api.md
index 857a17303a..af0eb7e72e 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-web-api.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/ai-service/using-web-api.md
@@ -13,7 +13,7 @@ AI Assist requires a backend service to process prompts and return AI-generated
## Prerequisites
-Ensure the following are available before you begin.
+Before you begin, ensure that the following prerequisites are available.
### Azure OpenAI credentials
@@ -193,7 +193,7 @@ Run the following command to start the Web API server:
dotnet run
```
-The server runs on `https://localhost:{port}` (as defined in `launchSettings.json`). Update the AI Assist endpoint like below:
+The server runs on the HTTPS URL configured in `Properties/launchSettings.json`. Replace `{port}` with the configured port and use the following AI Assist endpoint:
```
https://localhost:{port}/api/AIAssist/Chat
@@ -260,6 +260,6 @@ dotnet run
* [Web API Server](https://drive.google.com/file/d/13K7a89Vk4Xt7dgd4wt49q272bSVSVuz3/view?usp=drive_link)
-## See also
+## See Also
* [Node.js server setup](./using-node-js-server)
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/integration.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/integration.md
index 486de58b70..aac59de8fc 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/integration.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/integration.md
@@ -24,7 +24,7 @@ Ensure the following before integrating AI Assist:
### Add CSS references
-Add the following AI Assist dependent style references to the `` section of `~/Pages/Shared/_Layout.cshtml`.
+Add the Spreadsheet theme and the required AI Assist dependency styles to the `` section of `~/Pages/Shared/_Layout.cshtml`.
{% tabs %}
{% highlight cshtml tabtitle="~/_Layout.cshtml" %}
@@ -73,11 +73,11 @@ To enable `AIAssist` in the Spreadsheet tag helper, set the [`enableAIAssist`](h
{% endhighlight %}
{% endtabs %}
-This enables the AI Assist into the spreadsheet.
+This enables AI Assist in the Spreadsheet and displays the **AI Assist** button in the Ribbon.
### Configure AI Assist Settings
-Use the [`aiAssistSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.spreadsheet.spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AiAssistSettings) property to connect the spreadsheet to the backend server and customize the AI Assist.
+Use the [`aiAssistSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.spreadsheet.spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AiAssistSettings) property to configure the server side request URL, prompt placeholder, and prompt suggestions.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -89,7 +89,7 @@ Use the [`aiAssistSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/syncf
+ promptSuggestions="@(new string[] { "Summarize this sheet", "Highlight duplicate values", "Create a chart from the selected data" })">
```
@@ -97,7 +97,7 @@ Use the [`aiAssistSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/syncf
{% endhighlight %}
{% endtabs %}
-Your Spreadsheet is now integrated with AI Assist and ready to use.
+After completing this configuration, the Spreadsheet can send AI Assist prompts to the configured server side service.
## How-To Guides
@@ -110,7 +110,7 @@ Your Spreadsheet is now integrated with AI Assist and ready to use.
### Undo an AI Action
-All actions performed by AI Assist are recorded in the spreadsheet's undo/redo history. Press Ctrl+Z to revert any change made by the AI, just like a manual edit.
+All actions performed by AI Assist are recorded in the spreadsheet's undo/redo history. Press `Ctrl + Z` to revert any change made by the AI, just like a manual edit.
### How to Customize the Request Before Sending
@@ -191,8 +191,16 @@ If the AI panel displays an error message:
## API References
+### Spreadsheet properties
+
+| Property | Type | Description |
+|----------|------|-------------|
+| [`enableAIAssist`](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.spreadsheet.spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_EnableAIAssist) | `boolean` | Specifies whether AI Assist is enabled in the Spreadsheet. |
+
### AI Assist Settings
+The [`aiAssistSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.spreadsheet.spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AIAssistSettings) property contains the following options:
+
| Property | Type | Description |
|---|---|---|
| `requestUrl` | `string` | The URL of your AI server endpoint. All prompts are sent here. |
@@ -276,7 +284,7 @@ Type your request in plain English — no formulas or technical knowledge needed
| *"Add a line chart showing the monthly trend"* | Creates a line chart to visualize changes over time |
| *"Insert a pie chart with a title called 'Revenue Split'"* | Creates a pie chart with a custom title |
-## See also
+## See Also
* [Node.js server setup](./ai-service/using-node-js-server)
* [Web API (.NET) server setup](./ai-service/using-web-api)
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/overview.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/overview.md
index 770e12d052..6e65cebbdc 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/overview.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/ai-assist/overview.md
@@ -1,13 +1,13 @@
---
layout: post
-title: AI Assist in ASP.NET Core Spreadsheet control | Syncfusion
+title: AI Assist in ASP.NET Core Spreadsheet Control | Syncfusion
description: Learn about the AI Assist feature in the Syncfusion ASP.NET Core Spreadsheet control and how to configure it.
platform: document-processing
control: AI Assist
documentation: ug
---
-# AI Assist in ASP.NET Core Spreadsheet control
+# AI Assist in ASP.NET Core Spreadsheet Control
**AI Assist** brings AI-powered capabilities directly into the spreadsheet. Instead of manually applying formatting, writing formulas, or organizing data, you can describe what you want in plain English — and the AI Assist performs the action for you.
@@ -15,11 +15,11 @@ documentation: ug
## Integration
-AI Assist integrates seamlessly into your ASP.NET Core Spreadsheet application with minimal configuration. This includes injecting the module, enabling the feature, configuring the backend server connection, handling events, and exploring the full range of supported prompts.
+To configure AI Assist, inject the required module, enable the feature, and connect the Spreadsheet to a server-side AI service. For setup instructions, event customization, API references, troubleshooting, and example prompts, see [AI Assist Integration](./integration).
-For complete setup instructions, how-to guides, API references, and prompt examples, see [AI Assist Integration](./integration).
+After completing the integration, open the AI Assist panel, submit a prompt, and verify that the requested operation is applied to the active worksheet.
-## How AI Assist Works in spreadsheet
+## How AI Assist Works in the spreadsheet
Understanding how AI Assist processes your request helps you write better prompts and get more reliable results.
@@ -36,7 +36,7 @@ Once the intent is known, the spreadsheet's current data and the identified acti
- **Execution**
The generated instructions are applied directly to the spreadsheet. The result appears instantly in the grid, and a confirmation message is shown in the AI panel. Every change is also added to the undo history, so nothing is permanent.
-## Supported Features
+## Supported features
AI Assist supports a wide range of spreadsheet operations through natural language prompts:
@@ -48,7 +48,7 @@ AI Assist supports a wide range of spreadsheet operations through natural langua
| **Formatting** | Apply styles such as bold, italic, font color, background color, number formats, and wrap text. |
| **Structure Management** | Insert/delete rows and columns, merge cells, and freeze panes. |
| **Clipboard Actions** | Perform cut, copy, and paste operations through AI commands. |
-| **Navigation** | Perform sorting, filtering, and find & replace operations. |
+| **Navigation** | Perform sorting, filtering, and Find and Replace operations. |
| **Visualization** | Insert charts with multiple types, themes, titles, and sizing options. |
### Writing Effective Prompts
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md
index 5fa7c090e2..5b868d3aeb 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md
@@ -10,16 +10,16 @@ documentation: ug
# Cell Range in ASP.NET Core Spreadsheet control
-A group of cells in a sheet is known as cell range.
+A group of cells in a sheet is known as a cell range.
## Wrap text
-Wrap text allows you to display large content as multiple lines in a single cell. By default, the wrap text support is enabled. Use the [`allowWrap`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowWrap) property to enable or disable the wrap text support in spreadsheet.
+Wrap text allows you to display large content as multiple lines in a single cell. By default, wrap text support is enabled. Use the [`allowWrap`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowWrap) property to enable or disable the wrap text support in spreadsheet.
-Wrap text can be applied or removed to a cell or range of cells in the following ways,
+Wrap text can be applied to or removed from a cell or range of cells in the following ways:
* Using the `wrap` property in `cell`, you can enable or disable wrap text to a cell at initial load.
-* Select or deselect wrap button from ribbon toolbar to apply or remove the wrap text to the selected range.
+* Select or clear the Wrap button in the Ribbon toolbar to apply or remove wrap text for the selected range.
* Using the `wrap` method, you can apply or remove the wrap text once the component is loaded.
The following code example shows the wrap text functionality in spreadsheet.
@@ -44,21 +44,21 @@ The following features have some limitations in wrap text:
## Merge cells
-Merge cells allows users to span two or more cells in the same row or column into a single cell. When cells with multiple values are merged, top-left most cell data will be the data for the merged cell. By default, the merge cells option is enabled. Use [`allowMerge`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowMerge) property to enable or disable the merge cells option in spreadsheet.
+Merge cells allow users to span two or more cells in the same row or column into a single cell. When cells with multiple values are merged, the top-left cell's value becomes the value of the merged cell. By default, the merge cells option is enabled. Use [`allowMerge`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowMerge) property to enable or disable the merge cells option in spreadsheet.
-You can merge the range of cells in the following ways,
+You can merge cells in the following ways:
-* Set the `rowSpan` and `colSpan` property in `cell` to merge the number of cells at initial load.
-* Select the range of cells and apply merge by selecting the desired option from ribbon toolbar.
-* Use `merge` method to merge the range of cells, once the component is loaded.
+* Set the `rowSpan` and `colSpan` properties of a cell to merge cells during the initial rendering.
+* Select a range and choose the required merge option from the Ribbon toolbar.
+* Use the `merge` method to merge a range after the component is loaded.
The available merge options in spreadsheet are,
| Type | Action |
|-------|---------|
-| Merge All | Combines all the cells in a range in to a single cell (default). |
-| Merge Horizontally | Combines cells in a range as row-wise. |
-| Merge Vertically | Combines cells in a range as column-wise. |
+| Merge All | Combines all the cells in a range into a single cell (default). |
+| Merge Horizontally | Combines cells in a range row-wise. |
+| Merge Vertically | Combines cells in a range column-wise. |
| UnMerge | Splits the merged cells into multiple cells. |
The following code example shows the merge cells operation in spreadsheet.
@@ -83,42 +83,47 @@ The following features have some limitations in Merge:
## Data Validation
-Data Validation is used to restrict the user from entering the invalid data. You can use the [`allowDataValidation`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowDataValidation) property to enable or disable data validation.
+Data Validation is used to prevent users from entering invalid data. You can use the [`allowDataValidation`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowDataValidation) property to enable or disable data validation.
N> * The default value for `allowDataValidation` property is `true`.
### Apply Validation
-You can apply data validation to restrict the type of data or the values that users enter into a cell.
+Data validation can restrict the type of data or the range of values that users enter into a cell.
-You can apply data validation by using one of the following ways,
+You can apply data validation in the following ways:
-* Select the Data tab in the Ribbon toolbar, and then choose the Data Validation item.
-* Use the `addDataValidation()` method programmatically.
+* Select the required cells, open the **Data** tab in the Ribbon, and choose **Data Validation**.
+* Use the `addDataValidation()` method to apply a validation rule programmatically.
+
+The `addDataValidation()` method requires:
+
+* A validation rule that defines the validation type, operator, and permitted values or formula.
+* A cell or range address to which the rule is applied.
### Clear Validation
-Clear validation feature is used to remove data validations from the specified ranges or the whole worksheet.
+The Clear Validation feature is used to remove data validations from the specified ranges or the entire worksheet.
-You can clear data validation rule by one of the following ways,
+You can clear a data validation rule in one of the following ways:
-* Select the Data tab in the Ribbon toolbar, and then choose the Clear Validation item.
-* Use the `removeDataValidation()` method programmatically.
+* Select the required cells, open the **Data** tab in the Ribbon, and choose **Clear Validation**.
+* Use the `removeDataValidation()` method to remove validation programmatically.
### Highlight Invalid Data
-Highlight invalid data feature is used to highlight the previously entered invalid values.
+The Highlight Invalid Data feature is used to highlight previously entered invalid values.
-You can highlight an invalid data by using one of the following ways,
+You can highlight invalid data in one of the following ways:
-* Select the Data tab in the Ribbon toolbar, and then choose the Highlight Invalid Data item.
-* Use the `addInvalidHighlight()` method programmatically.
+* Open the **Data** tab in the Ribbon and choose **Highlight Invalid Data**.
+* Use the `addInvalidHighlight()` method to highlight invalid values programmatically.
### Clear Highlighted Invalid Data
-Clear highlight feature is used to remove the highlight from invalid cells.
+The Clear Highlight feature is used to remove highlights from invalid cells.
-You can clear the highlighted invalid data by using the following ways,
+You can clear highlighted invalid data in one of the following ways:
* Select the Data tab in the Ribbon toolbar, and then choose the Clear Highlight item.
* Use the `removeInvalidHighlight()` method programmatically.
@@ -138,7 +143,7 @@ The Spreadsheet supports custom data validation, allowing users to define their
With custom validation, you can enforce rules using logical expressions or formulas, ensuring that only valid data is entered into the Spreadsheet.
-For example, consider a scenario where you want to ensure that a cell contains a number between 10 and 100. To achieve this, define a validation rule using a formula that checks if the entered value is greater than 10 and less than 100. The formula for this validation is =AND(A1>10, A1<100), where A1 refers to the cell being validated.
+For example, consider a scenario where you want to ensure that a cell contains a number greater than 10 and less than 100. To achieve this, define a validation rule using a formula that checks if the entered value is greater than 10 and less than 100. The formula for this validation is =AND(A1>10, A1<100), where A1 refers to the cell being validated.
When this rule is applied, the Spreadsheet evaluates the entered value against the formula. If a user enters a value outside the specified range, an alert notifies them of the invalid input. This helps users correct errors efficiently and ensures that only desired values are accepted.
@@ -171,32 +176,38 @@ The following features have some limitations in Data Validation:
Auto Fill is used to fill the cells with data based on adjacent cells. It also follows a pattern from adjacent cells if available. There is no need to enter the repeated data manually. You can use [`allowAutoFill`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowAutoFill) property to enable/disable the auto fill support. You can also use `showFillOptions` property to enable/disable the fill option and `fillType` property to change the default auto fill option which is available in [`autoFillSettings`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AutoFillSettings).
-You can do this by one of the following ways,
+The `autoFillSettings` property configures Auto Fill behavior:
+
+* `showFillOptions`: Specifies whether the Auto Fill Options menu is displayed after an Auto Fill operation.
+* `fillType`: Specifies the default Auto Fill operation.
+* `direction`: Specifies the direction in which values are filled.
+
+You can perform Auto Fill in the following ways:
-* Using “AutoFillOptions” menu which is open, while drag and drop the cell using fill handle element.
-* Use the autoFill() method programmatically.
+* Drag the fill handle to the required range and select an option from the **Auto Fill Options** menu.
+* Use the `autoFill()` method programmatically.
-The available parameters in `autoFill()` method are,
+The `autoFill()` method accepts the following parameters:
| Parameter | Type | Description |
|-----|------|----|
| dataRange | `string` | Specifies the data range. |
| fillRange | `string` | Specifies the fill range. |
-| direction | `AutoFillDirection` | Specifies the direction("Up","Right","Down","Left")to be filled. |
-| fillType | `AutoFillType` | Specifies the fill type("CopyCells","FillSeries","FillFormattingOnly","FillWithoutFormatting") for autofill action. |
+| direction | `AutoFillDirection` | Specifies the direction ("Up", "Right", "Down", "Left") to be filled. |
+| fillType | `AutoFillType` | Specifies the fill type ("CopyCells", "FillSeries", "FillFormattingOnly", "FillWithoutFormatting") for the Auto Fill action. |
-In Auto Fill we have following options,
+Auto Fill supports the following options:
* Copy Cells
* Fill Series
* Fill Formatting Only
* Fill Without Formatting
-N>* The default auto fill option is “FillSeries” which can be referred from `fillType` property.
+N>* The default Auto Fill option is `FillSeries`, which is configured through the `fillType` property.
### Copy Cells
-To copy the selected cell content to the adjacent cells. You can do this by one of the following ways,
+To copy the selected cell content to the adjacent cells. You can do this in one of the following ways:
* Using fill handle to select the adjacent cell range and “Copy Cells” option in “AutoFillOptions” menu to fill the adjacent cells.
* Using “CopyCells” as fill type in `autoFill` method to fill the adjacent cells.
@@ -205,7 +216,7 @@ To copy the selected cell content to the adjacent cells. You can do this by one
To fill the series of numbers, characters, or dates based on selected cell content to the adjacent cells with their formats.
-You can do this by one of the following ways,
+You can do this in one of the following ways:
* Using fill handle to select the adjacent cell range and “Fill Series” option in “AutoFillOptions” menu to fill the adjacent cells.
* Using “FillSeries” as fill type in `autoFill` method to fill the adjacent cells.
@@ -214,7 +225,7 @@ You can do this by one of the following ways,
To fill the cell style and number formatting based on the selected cell content to the adjacent cells without their content.
-You can do this by one of the following ways,
+You can do this in one of the following ways:
* Using fill handle to select the adjacent cell range and “Fill Formatting Only” option in “AutoFillOptions” menu to fill the adjacent cells.
* Using “FillFormattingOnly” as fill type in `autoFill` method to fill the adjacent cells.
@@ -223,7 +234,7 @@ You can do this by one of the following ways,
To fill series of numbers, characters, or dates based on the selected cells to the adjacent cells without their formats.
-You can do this by one of the following ways,
+You can do this in one of the following ways:
* Using fill handle to select the adjacent cell range and “Fill Without Formatting” option in “AutoFillOptions” menu to fill the adjacent cells.
* Using “FillWithoutFormatting” as fill type in `autoFill` method to fill the adjacent cells.
@@ -243,16 +254,16 @@ In the following sample, you can enable/disable the fill option on the button cl
## Clear
-Clear feature helps you to clear the cell contents (formulas and data), formats (including number formats, conditional formats, and borders) in a spreadsheet. When you apply clear all, both the contents and the formats will be cleared simultaneously.
+Clear feature helps you to clear the cell contents (formulas and data), formats (including number formats, conditional formats, and borders) in a spreadsheet. When you apply clear All, both the contents and the formats will be cleared simultaneously.
### Apply Clear Feature
-You can apply clear feature by using one of the following ways,
+You can apply the Clear feature in one of the following ways:
* Select the clear icon in the Ribbon toolbar under the Home Tab.
* Using the `clear()` method to clear the values.
-Clear has the following types in the spreadsheet,
+Clear supports the following options in the Spreadsheet:
| Options | Uses |
|-----|------|
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/clipboard.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/clipboard.md
index 7b8846b46a..a6b0f92942 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/clipboard.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/clipboard.md
@@ -10,13 +10,13 @@ documentation: ug
# Clipboard in ASP.NET Core Spreadsheet control
-The Spreadsheet provides support for the clipboard operations (cut, copy, and paste). Clipboard operations can be enabled or disabled by setting the [`enableClipboard`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_EnableClipboard) property in Spreadsheet.
+The Spreadsheet supports clipboard operations such as cut, copy, and paste. Clipboard operations can be enabled or disabled by setting the [`enableClipboard`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_EnableClipboard) property in Spreadsheet.
N> By default, the `enableClipboard` property is true.
## Cut
-It is used to cut the data from selected range of cells, rows or columns in a spreadsheet and make it available in the clipboard.
+Cut is used to remove data from the selected range of cells, rows, or columns and place it on the clipboard.
**User Interface**:
@@ -29,7 +29,7 @@ Cut can be done in one of the following ways.
## Copy
-It is used to copy the data from selected range of cells, rows or columns in a spreadsheet and make it available in the clipboard.
+Copy is used to duplicate data from the selected range of cells, rows, or columns and place it on the clipboard.
**User Interface**:
@@ -42,12 +42,12 @@ Copy can be done in one of the following ways.
## Paste
-It is used to paste the clipboard data to the selected range, rows or columns. You have the following options in Paste,
+Paste is used to insert clipboard data into the selected range, rows, or columns. The following paste options are available:
* `Paste Special` - You can paste the values with formatting.
* `Paste` - You can paste only the values without formatting.
-It also performs for external clipboard operation. If you perform cut and paste, clipboard data will be cleared, whereas in copy and paste the clipboard contents will be maintained. If you perform paste inside the copied range, the clipboard data will be cleared.
+External clipboard operations are also supported. If you perform cut and paste, clipboard data will be cleared, whereas in copy and paste the clipboard contents will be maintained. If you perform paste inside the copied range, the clipboard data will be cleared.
**User Interface**:
@@ -73,7 +73,7 @@ N> If you use the Keyboard shortcut key for cut (`Ctrl + X`) | copy (`Ctrl + C`)
## Prevent the paste functionality
-The following example shows, how to prevent the paste action in spreadsheet. In [`actionBegin`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_ActionBegin) event, you can set `cancel` argument as false in paste request type.
+The following example shows how to prevent the paste action in the Spreadsheet. In the [`actionBegin`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_ActionBegin) event, set the cancel argument to true for the paste request type.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -88,7 +88,7 @@ The following example shows, how to prevent the paste action in spreadsheet. In
## Limitations
-* External clipboard is not fully supported while copying data from another source and pasting into a spreadsheet, it only works with basic supports (Values, Number, cell, and Text formatting).
-* If you copy =SUM(A2,B2) and paste, the formula reference will change depending on the pasted cell address but we don't have support for nested formula(formula reference will be same).
+* External clipboard support is limited when copying data from another source and pasting into the Spreadsheet. Only basic formatting such as values, number formatting, cell formatting, and text formatting is supported.
+* If you copy `=SUM(A2,B2)` and paste it, the formula reference changes based on the destination cell address. Nested formula references are not updated in the same way.
* Clipboard is not supported with conditional formatting (values only pasting).
-* We have limitation while copying the whole sheet data and pasting it into another sheet.
\ No newline at end of file
+* There is a limitation when copying all data from a sheet and pasting it into another sheet.
\ No newline at end of file
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/comment.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/comment.md
index 4264fc9aa4..d09201e082 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/comment.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/comment.md
@@ -8,9 +8,9 @@ documentation: ug
---
# Comment in EJ2 ASP.NET Core Spreadsheet control
-The **Comment** feature allows you to add feedback to cells without changing their values, enabling contextual discussions through threaded **replies**. Unlike [Notes](./notes), Comment include advanced review tools such as **resolve** and **reopen** to track status, plus an optional **Comments Review Pane** for browsing and managing threads.
+The **Comment** feature allows users to add feedback to cells without changing their values and supports contextual discussions through threaded **replies**. Unlike [Notes](./notes), Comments include advanced review tools such as **Resolve** and **Reopen** for tracking the status of discussions. The optional **Comments review pane** can be used to browse and manage comment threads.
-Cells with comment display a small comment indicator; hover to preview the comment editor. This provides a clear, collaborative workflow while keeping data intact.
+Cells containing comments display a small comment indicator. Hover over the indicator to preview the comment.

@@ -21,7 +21,7 @@ The Syncfusion Spreadsheet does not automatically track user identity. To tag ne
```
->If the author property is not set, "Guest User" will be displayed as the author for comment and replies by default.
+>If the `author` property is not set, "Guest User" is displayed as the default author for comments and replies.
## Adding a comment
You can add a **comment** to a cell in several ways:
@@ -32,6 +32,8 @@ You can add a **comment** to a cell in several ways:
* Use the `updateCell` method with the comment model to add a comment to a specific cell.
* Bind comments via code-behind during initial load by associating the comment model with the cell model.
+For an example that adds a comment programmatically using the `updateCell` method, see the #resolve-and-reopen section.
+
The image below shows that once a comment is posted, the cell displays an indicator, and the comment can be previewed on hover.

@@ -50,8 +52,8 @@ After posting, the replies appear under the first comment in the comment editor.
## Editing a comment
You can edit the content of a comment or its replies directly within the comment editor.
-* **Edit first comment**: In the comment editor. Click the **"⋯" (More thread actions)** menu in the header, select the **Edit Comment**, modify the text and click **Post**.
-* **Edit a reply comment**: In the comment editor, hover over the specific reply, click the **"⋯" (More actions)**, select the **Edit Comment**, modify the text and click **Post**.
+* **Edit the first comment**: In the comment editor, click the **"⋯" (More thread actions)** menu in the header, select **Edit Comment**, modify the text, and click **Post**.
+* **Edit a reply**: In the comment editor, hover over the reply, click the **"⋯" (More actions)** menu, select **Edit Comment**, modify the text, and click **Post**.

@@ -74,7 +76,7 @@ You can also use the `isResolved` property in the comment model when initializin
// Update a cell with a comment using the updateCell method
spreadsheet.updateCell({
comment: {
- author: 'Chistoper', text: 'Are you completed the report',
+ author: 'Christopher', text: 'Have you completed the report?',
createdTime: 'January 03, 2026 at 5:00 PM',
// Set to true to mark the thread as resolved; false keeps it active
isResolved: false,
@@ -123,7 +125,7 @@ You can show or hide the "Comments" review pane using:

### Features of the comments review pane
-The "Comments" review pane is rendered within the spreadsheet interface to provide a dedicated space for managing comments efficiently. It acts as a centralized hub where you can view all comment threads, perform actions, and keep discussions organized without navigating cell by cell.
+The **Comments review pane** provides a centralized view of all comments. Use it to filter, navigate, and manage comment threads without opening each cell's comment editor.
The "Comments" review pane allows you to:
@@ -143,6 +145,16 @@ When the review pane is open, all actions performed in the review pane or in the
* Actions such as **Reply**, **Edit**, **Delete**, and **Resolve/Reopen** update both the pane and the cell comment editor instantly, ensuring consistency across the UI.
* The review pane dynamically updates when comments are added, deleted, or resolved, so you always see the latest state without refreshing.
+A comment object supports the following properties:
+
+- `author`: Specifies the author of the comment.
+- `text`: Specifies the comment text.
+- `createdTime`: Specifies when the comment was created.
+- `isResolved`: Specifies whether the comment thread is resolved.
+- `replies`: Contains the replies associated with the comment thread.
+
+Each reply supports the `author`, `text`, and `createdTime` properties.
+
## Saving a Workbook with Comments
You can save spreadsheet data along with **comments** using **File > Save As > Microsoft Excel(.xlsx)**.
- **MS Excel (.xlsx)** - Preserves all **threaded comments** (modern comments).
@@ -160,7 +172,7 @@ You can bind **comment thread** to cells at initial load by providing a `comment
- **Comment**: `author`, `text`, `createdTime`, `isResolved`
- **Replies**: A collection of replies. Each reply is an object containing its `author`, `text`, and `createdTime` (no nested replies-of-replies).
-In the below sample, comments are added to a specific cell using cell data binding. The "Comments" review pane is shown initially by enabling the `showCommentsPane` property, and comments are added using `updateCell` method in the `created` event.
+In the following example, a comment thread is assigned to a cell during the initial data binding. Additional comments are added using the `updateCell` method in the `created` event. The `showCommentsPane` property is enabled to display the Comments review pane when the Spreadsheet is rendered.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -171,6 +183,8 @@ In the below sample, comments are added to a specific cell using cell data bindi
{% endhighlight %}
{% endtabs %}
+After running the sample, verify that the comment indicator appears in the configured cell and that the corresponding comment thread is displayed in the Comments review pane.
+
### Important Notes
* **One thread per cell**: Attach a single `comment` object per cell. New remarks should be added as replies inside the existing thread.
* **Author Identity**: The author name for each comment and reply is static once set. When exporting, the author information is preserved for all comments, even if multiple authors exist in the workbook.
@@ -178,7 +192,7 @@ In the below sample, comments are added to a specific cell using cell data bindi
## Limitations
* **Un-posted comments are not stored**: If you type in the comment editor and close it without clicking **Post**, the entered text is not saved and will not appear when you reopen the editor. Only posted content is persisted in the comment model.
-* **Comments and Notes cannot coexist**: When a cell contains comment, notes cannot be added. Similarly, if a cell already has a notes, comment cannot be added.
+* **Comments and Notes cannot coexist**: When a cell contains a comment, a note cannot be added. Similarly, when a cell contains a note, a comment cannot be added.
* **Comments in Print**: Comments are not included in print output.
* **Non-collaborative**: Real-time multi-user synchronization is not supported. However, when exporting and re-importing the workbook, the author information for each comment and reply is preserved.
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/context-menu.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/context-menu.md
index bada067da0..ee1eaf78ed 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/context-menu.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/context-menu.md
@@ -10,9 +10,9 @@ documentation: ug
# Context Menu in ASP.NET Core Spreadsheet control
-Context Menu is used to improve user interaction with Spreadsheet using the popup menu. This will open when right-clicking on Cell/Column Header/Row Header/ Pager in the Spreadsheet. You can use [`enableContextMenu`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_EnableContextMenu) property to enable/disable context menu.
+The context menu provides quick access to Spreadsheet operations through a popup menu. It opens when a user right-clicks a cell, row header, column header, or worksheet tab. Use the [`enableContextMenu`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_EnableContextMenu) property to enable or disable the context menu.
-N> The default value for the `enableContextMenu` property is `true`.
+N> The default value of the `enableContextMenu` property is `true`.
## Context Menu Items in Row Cell
@@ -20,13 +20,13 @@ Find the table below for default context menu items and their actions.
| Context Menu items | Action |
|-------|---------|
-| `Cut` | Cut the selected cells data to the clipboard, you can select a cell where you want to move the data. |
-| `Copy` | Copy the selected cells data to the clipboard, so that you can paste it to somewhere else. |
-| `Paste` | Paste the data from clipboard to spreadsheet. |
-| `Paste Special` | `Values` - Paste the data values from clipboard to spreadsheet. `Formats` - Paste the data formats from clipboard to spreadsheet. |
+| `Cut` | Cut the selected cell data to the clipboard so that it can be pasted to another location. |
+| `Copy` | Copy the selected cell data to the clipboard so that it can be pasted to another location. |
+| `Paste` | Paste the clipboard data into the selected cells. |
+| `Paste Special` | `Values` - Pastes values from the clipboard into the Spreadsheet. `Formats` - Pastes formatting from the clipboard into the Spreadsheet. |
| `Filter` | Perform filtering to the selected cells based on an active cell’s value. |
| `Sort` | Perform sorting to the selected range of cells by ascending or descending. |
-| `Hyperlink` | Create a link in the spreadsheet to navigate to web links or cell reference within the sheet or other sheets in the Spreadsheet. |
+| `Hyperlink` | Creates a hyperlink to a web page, a cell reference in the current worksheet, or a cell reference in another worksheet. |
## Context Menu Items in Row Header / Column Header
@@ -34,14 +34,14 @@ Find the table below for default context menu items and their actions.
| Context Menu items | Action |
|-------|---------|
-| `Cut` | Cut the selected row/column header data to the clipboard, you can select a cell where you want to move the data. |
-| `Copy`| Copy the selected row/column header data to the clipboard, so that you can paste it to somewhere else. |
-| `Paste` | Paste the data from clipboard to spreadsheet. |
-| `Paste Special` | `Values` - Paste the data values from clipboard to spreadsheet. `Formats` - Paste the data formats from clipboard to spreadsheet. |
-| `Insert Columns` | Insert new rows or columns into the worksheet. |
-| `Delete Columns` | Delete existing rows or columns from the worksheet. |
-| `Hide Columns` | Hide the rows and columns. |
-| `UnHide Columns` | Show the hidden rows and columns. |
+| `Cut` | Cut the selected row or column data to the clipboard so that it can be pasted to another location. |
+| `Copy` | Copy the selected row or column data to the clipboard so that it can be pasted to another location. |
+| `Paste` | Paste the clipboard data into the selected rows or columns. |
+| `Paste Special` | `Values` - Pastes values from the clipboard into the Spreadsheet. `Formats` - Pastes formatting from the clipboard into the Spreadsheet. |
+| `Insert Rows`/`Insert Columns` | Insert new rows or columns into the worksheet. |
+| `Delete Rows`/`Delete Columns` | Delete existing rows or columns from the worksheet. |
+| `Hide Rows`/`Hide Columns` | Hide the selected rows or columns. |
+| `Unhide Rows`/`Unhide Columns` | Show the hidden rows or columns. |
## Context Menu Items in Pager
@@ -53,11 +53,11 @@ Find the table below for default context menu items and their actions.
| `Delete` | Delete the selected worksheet from the spreadsheet. |
| `Rename` | Rename the selected worksheet. |
| `Protect Sheet` | Prevent unwanted changes from others by limiting their ability to edit. |
-| `Hide` |Hide the selected worksheet. |
+| `Hide` | Hide the selected worksheet. |
## Context Menu Customization
-You can perform the following context menu customization options in the spreadsheet
+The Spreadsheet supports the following context menu customization options:
* Add Context Menu Items
* Remove Context Menu Items
@@ -65,9 +65,9 @@ You can perform the following context menu customization options in the spreadsh
### Add Context Menu Items
-You can add the custom items in context menu using the `addContextMenuItems` in `contextmenuBeforeOpen` event
+Use the `addContextMenuItems` method in the `contextmenuBeforeOpen` event to add custom items to the context menu.
-In this demo, Custom Item is added after the Paste item in the context menu.
+In this example, a custom item is added after the **Paste** item. After running the sample, right-click a cell and verify that the custom item appears in the context menu.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -82,9 +82,9 @@ In this demo, Custom Item is added after the Paste item in the context menu.
### Remove Context Menu Items
-You can remove the items in context menu using the `removeContextMenuItems` in `contextmenuBeforeOpen` event
+Use the `removeContextMenuItems` method in the `contextmenuBeforeOpen` event to remove items from the context menu.
-In this demo, Insert Column item has been removed from the row/column header context menu.
+In this example, the **Insert Column** item is removed from the row or column header context menu. After running the sample, right-click a row or column header and verify that the item is not displayed.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -99,9 +99,9 @@ In this demo, Insert Column item has been removed from the row/column header con
### Enable/Disable Context Menu Items
-You can enable/disable the items in context menu using the `enableContextMenuItems` in `contextmenuBeforeOpen` event
+Use the `enableContextMenuItems` method in the `contextmenuBeforeOpen` event to enable or disable context menu items.
-In this demo, Rename item is disabled in the pager context menu.
+In this example, the **Rename** item is disabled in the pager context menu. After running the sample, right-click a worksheet tab and verify that the **Rename** item is disabled.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/data-binding.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/data-binding.md
index fd4e6fd4a8..0f11b56455 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/data-binding.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/data-binding.md
@@ -10,7 +10,7 @@ documentation: ug
# Data Binding in ASP.NET Core Spreadsheet Control
-The Spreadsheet uses `DataManager`, which supports both RESTful JSON data services and local JavaScript object array binding to a range. The `dataSource` property can be assigned either with the instance of `DataManager` or JavaScript object array collection.
+The Spreadsheet supports binding data to a range from RESTful JSON services and local JavaScript object arrays through `DataManager`. The `dataSource` property accepts either a `DataManager` instance or a JavaScript object array collection.
N> To bind data to a cell, use `cell data binding` support.
@@ -31,11 +31,11 @@ Refer to the following code example for local data binding.
-N> The local data source can also be provided as an instance of the `DataManager`. By default, `DataManager` uses `JsonAdaptor` for local data-binding.
+N> The local datasource can also be provided as an instance of the `DataManager`. By default, `DataManager` uses `JsonAdaptor` for local data-binding.
### Customizing column data mapping
-By default, when a data source is bound to a sheet, columns are auto-assigned from the data source fields sequentially. This means that the first field in the data source is assigned to Column A, the second to Column B, and so on, sequentially. However, now you can customize the column assignments by specifying the appropriate field names in the desired order using the `fieldsOrder` property.
+By default, datasource fields are mapped sequentially to worksheet columns. The first field is assigned to column A, the second field to column B, and so on. You can customize the column mapping by specifying the field names in the required order using the `fieldsOrder` property.
> You can customize the mapping of column data only in the local data binding support.
@@ -53,7 +53,7 @@ The following code example demonstrates how to customize the mapping of column d
## Remote data
-To bind remote data to the Spreadsheet control, assign service data as an instance of `DataManager` to the `dataSource` property. To interact with remote data source, provide the service endpoint `url`.
+To bind remote data to the Spreadsheet, assign a `DataManager` instance configured with the service endpoint URL to the `dataSource` property. To interact with remote data source, provide the service endpoint `url`.
Refer to the following code example for remote data binding.
@@ -72,7 +72,7 @@ N> By default, `DataManager` uses **ODataAdaptor** for remote data-binding.
### Binding with OData services
-`OData` is a standardized protocol for creating and consuming data. You can retrieve data from OData service using the DataManager. Refer to the following code example for remote Data binding using OData service.
+`OData` is a standardized protocol for creating and consuming data. You can use `DataManager` to retrieve data from an OData service. The following code example demonstrates remote data binding using an OData service.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -102,7 +102,7 @@ You can use WebApiAdaptor to bind spreadsheet with Web API created using OData e
## Cell data binding
-The Spreadsheet control can bind the data to individual cell in a sheet . To achieve this you can use the `value` property.
+The Spreadsheet can bind data to an individual cell in a worksheet. To achieve this, use the `value` property.
Refer to the following code example for cell data binding.
@@ -119,21 +119,26 @@ Refer to the following code example for cell data binding.
N> The cell data binding also supports formula, style, number format, and more.
-## Dynamic data binding and Datasource change event
+## Dynamic data binding and data source change event
-You can dynamically change the datasource of the spreadsheet by changing the `dataSource` property of the `range` object of the `sheet`. The `dataSourceChanged` event handler will be triggered when editing, inserting, and deleting a row in the datasource range. This event will be triggered with a parameter named `action` which indicates the `edit`, `add` and `delete` actions for the respective ones.
+You can dynamically change the data source by updating the `dataSource` property of a range in the worksheet. The `dataSourceChanged` event is triggered when a row in the data source range is edited, inserted, or deleted. The event provides an `action` argument that indicates whether the performed action is `edit`, `add`, or `delete`.
The following table defines the arguments of the `dataSourceChanged` event.
| Property | Type | Description |
|-----|-----|-------|
-| action | string | Indicates the type of action such as `edit`, `add`, and `delete` performed in the datasource range. |
-| data | object[] | Modified data for `edit` action; New data for `add` action; Deleted data for `delete` action. |
-| rangeIndex | number | Specifies the range index of the datasource. |
-| sheetIndex | number | Specifies the sheet index of the datasource. |
+| action | string | Indicates the type of action, such as `edit`, `add`, or `delete`, performed in the data source range. |
+| data | object[] | Specifies the modified data for an `edit` action, new data for an `add` action, or deleted data for a `delete` action. |
+| rangeIndex | number | Specifies the index of the data source range. |
+| sheetIndex | number | Specifies the index of the worksheet that contains the data source. |
-N> For `add` action, the value for all the fields will be `null` in the data. In the case that you do not want the primary key field to be null which needs to be updated in the backend service, you can use `edit` action after updating the primary key field to update in the backend service.
- For inserting a row at the end of the datasource range, you should insert a row below at the end of the range to trigger the `dataSourceChanged` event with action `add`.
+N> During an add action, all field values in the event data are initially `null`. If the primary key must contain a value before the data is sent to the backend service, assign the primary key and then process the change as an edit action.
+
+To trigger the `dataSourceChanged` event with the `add` action, insert a row immediately below the end of the data source range.
+
+Bind the `dataSourceChanged` event to the Spreadsheet and use its event arguments to identify whether an edit, add, or delete action occurred in the data source range.
+
+After running the sample, edit, insert, or delete a row in the data source range and verify that the `dataSourceChanged` event is triggered with the corresponding action.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -146,9 +151,9 @@ N> For `add` action, the value for all the fields will be `null` in the data. In
## Dynamic data binding using updateRange method
-The `updateRange` method allows you to dynamically update the `dataSource` in a spreadsheet without manually iterating through each cell. This method is especially useful for efficiently applying bulk updates to a specific range within the spreadsheet.
+The `updateRange` method dynamically updates the `dataSource` in the Spreadsheet without updating each cell individually. This method is especially useful for efficiently applying bulk updates to a specific range within the spreadsheet.
-To use the `updateRange` method, provide the new `dataSource` and specify the starting cell for the update using the `startCell` property of the `RangeModel`. Additionally, set the `sheetIndex` to target the appropriate sheet for the update.
+To use the `updateRange` method, provide the new `dataSource`, specify the starting cell using the `startCell` property of `RangeModel`, and set `sheetIndex` to identify the worksheet to update.
The following code example demonstrates how to dynamically update data using the `updateRange` method.
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/docker-deployment.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/docker-deployment.md
index 88b5a81a43..2564f3860b 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/docker-deployment.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/docker-deployment.md
@@ -14,13 +14,13 @@ The [**Syncfusion® Spreadsheet (also known
This Docker image is the pre-defined Docker container for Syncfusion's Spreadsheet back-end functionalities. This server-side Web API project targets ASP.NET Core 8.0.
-You can deploy it quickly to your infrastructure. If you want to add new functionality or customize any existing functionalities, create your own Docker file by referencing the existing [Spreadsheet Docker project](https://github.com/SyncfusionExamples/Spreadsheet-Server-Docker).
+You can deploy it quickly to your infrastructure. If you want to add new functionality or customize any existing functionalities, create your own Dockerfile by referencing the existing [Spreadsheet Docker project](https://github.com/SyncfusionExamples/Spreadsheet-Server-Docker).
The Spreadsheet is supported on the [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), and [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls) platforms.
## Prerequisites
-Have [`Docker`](https://www.docker.com/products/container-runtime#/download) installed in your environment:
+Ensure that [`Docker`](https://www.docker.com/products/container-runtime#/download) is installed in your environment:
* On Windows, install [`Docker for Windows`](https://hub.docker.com/editions/community/docker-ce-desktop-windows).
* On macOS, install [`Docker for Mac`](https://docs.docker.com/desktop/install/mac-install/).
@@ -48,7 +48,7 @@ services:
- "6002:8080"
```
-**Note:** The Spreadsheet is a commercial product. It requires a valid [license key](https://help.syncfusion.com/common/essential-studio/licensing/licensing-faq/where-can-i-get-a-license-key) to use in a production environment. Please replace `YOUR_LICENSE_KEY` with the valid license key in the `docker-compose.yml` file.
+**Note:** The Spreadsheet is a commercial product and requires a valid [license key](https://help.syncfusion.com/common/essential-studio/licensing/licensing-faq/where-can-i-get-a-license-key) for use in a production environment. Pleas replace `YOUR_LICENSE_KEY` with a valid license key in the `docker-compose.yml` file.
**Step 3:** In a terminal tab, navigate to the directory where you've placed the `docker-compose.yml` file and execute the following:
@@ -56,9 +56,16 @@ services:
docker-compose up
```
-Now the Spreadsheet server Docker instance runs on localhost with the provided port number `http://localhost:6002`. Open this link in a browser and navigate to the Spreadsheet Web API open and save service at `http://localhost:6002/api/spreadsheet/open` and `http://localhost:6002/api/spreadsheet/save`.
+The Spreadsheet server is now available at `http://localhost:6002`.
-**Step 4:** Append the URLs of the Docker instance running services to the [`openUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_OpenUrl) property as `http://localhost:6002/api/spreadsheet/open` and the [`saveUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_SaveUrl) property as `http://localhost:6002/api/spreadsheet/save` in the client-side Spreadsheet control. For more information on how to get started with the Spreadsheet control, refer to this [`getting started page.`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/getting-started-core)
+Use the following endpoints for Spreadsheet file operations:
+
+* Open service: `http://localhost:6002/api/spreadsheet/open`
+* Save service: `http://localhost:6002/api/spreadsheet/save`
+
+**Step 4:** Append the URLs of the Docker instance running services to the [`openUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_OpenUrl) property as `http://localhost:6002/api/spreadsheet/open` and the [`saveUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_SaveUrl) property as `http://localhost:6002/api/spreadsheet/save` in the client-side Spreadsheet control. For more information on how to get started with the Spreadsheet control, refer to this [`getting started page.`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/getting-started-core).
+
+Add the following Spreadsheet configuration to the Razor view in which the Spreadsheet component is rendered. Configure the `OpenUrl` and `SaveUrl` properties to use the open and save endpoints exposed by the Docker container.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -69,9 +76,11 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
{% endhighlight %}
{% endtabs %}
-## How to configure different cultures using a Docker compose file
+Run the ASP.NET Core application and verify that the Spreadsheet can open and save Excel files using the configured Docker service endpoints.
+
+## How to configure different cultures using a Docker Compose file
-By default, the Spreadsheet Docker container is generated in the `en_US` culture. You can configure different cultures using the `LC_ALL`, `LANGUAGE`, and `LANG` environment variables in the `docker-compose.yml` file. These environment variables are replaced in the Docker file to set the specified culture for the Spreadsheet server.
+By default, the Spreadsheet Docker container uses the `en_US` culture. You can configure different cultures using the `LC_ALL`, `LANGUAGE`, and `LANG` environment variables in the `docker-compose.yml` file. These environment variables are replaced in the Dockerfile to set the specified culture for the Spreadsheet server.
```yaml
version: '3.4'
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/editing.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/editing.md
index e3188b3266..2f6960cdad 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/editing.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/editing.md
@@ -10,34 +10,36 @@ documentation: ug
# Editing in ASP.NET Core Spreadsheet control
-You can edit the contents of a cell directly in the cell or by typing in the formula bar. By default, the editing feature is enabled in the spreadsheet. Use the [`allowEditing`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowEditing) property to enable or disable the editing feature.
+You can edit a cell's content directly in the cell or by using the formula bar. Editing is enabled by default. Use the [`allowEditing`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowEditing) property to enable or disable editing in the Spreadsheet.
## Edit cell
-You can start editing by one of the following ways,
+You can start editing in one of the following ways:
-* Double click a cell to start the edit mode.
-* Press `F2` key to edit the active cell.
-* Use formula bar to perform editing.
-* Use `BACKSPACE` or `SPACE` key to clear the cell content and start the edit mode.
-* Using the `startEdit` method.
+* Double-click a cell to enter edit mode.
+* Press the `F2` key to edit the active cell.
+* Use the formula bar to edit the cell content.
+* Press the `Backspace` or `Space` key to clear the cell content and enter edit mode.
+* Use the `startEdit` method to programmatically start editing the active cell.
## Save cell
-If the cell is in editable state, you can save the edited cell by one of the following ways,
+When a cell is in an editable state, you can save the edited content in one of the following ways:
-* Perform mouse click on any other cell rather than the current editing cell.
-* Press `Enter` or `Tab` keys to save the edited cell content.
-* Using the `endEdit` method.
+* Click any cell other than the cell being edited.
+* Press the `Enter` or `Tab` key to save the edited cell content.
+* Use the `endEdit` method to programmatically save the edited cell content.
## Cancel editing
-To cancel the editing without saving the changes, you can use one of the following ways,
+You can cancel editing without saving the changes in one of the following ways:
-* Press `ESCAPE` key, this will remove the editable state and update the unchanged cell content.
-* Using the `closeEdit` method.
+* Press the `Esc` key to exit edit mode and restore the original cell content.
+* Use the `closeEdit` method to programmatically cancel editing without saving the changes.
-The following sample shows how to prevent the editing and cell save. Here `E` column prevent the editing by using cancel argument as true in [`cellEdit`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_CellEdit) event. In `D` column, prevent saving the edited changes by using cancel argument as true in [`beforeCellSave`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_BeforeCellSave) and use `closeEdit` method in spreadsheet.
+## Prevent editing and cell saving
+
+The following example demonstrates how to prevent cell editing and cell saving. Editing is prevented in column `E` by setting the `cancel` argument to `true` in the [`cellEdit`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_CellEdit) event. Saving edited changes is prevented in column `D` by setting the `cancel` argument to `true` in the [`beforeCellSave`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_BeforeCellSave) event and using the `closeEdit` method.
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
@@ -48,11 +50,11 @@ The following sample shows how to prevent the editing and cell save. Here `E` co
{% endhighlight %}
{% endtabs %}
-
+After running the sample, verify that cells in column E cannot enter edit mode and that edited changes in column D are not saved.
## Limitations
-* Text overflow in cells is not supported in Editing.
+* Text overflow in cells is not supported while editing.
## See Also
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/feature-list.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/feature-list.md
index f2eacf9d6e..ec4c84a74f 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/feature-list.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/feature-list.md
@@ -21,8 +21,8 @@ The following table compares Excel functionality with the availability of EJ1 an
| Scrolling | Partially | Yes | - |
| Selection | Yes | Yes | - |
| Editing | Yes | Yes | - |
-| Formulae | Yes | Partially | EJ2 supports limited number of [`most used formulas`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/formulas#supported-formulas) |
-| Named range | Yes | Partially | EJ2 Spreadsheet Named range supports only in workbook scope |
+| Formulae | Yes | Partially | EJ2 supports a limited number of [`commonly used formulas`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/formulas#supported-formulas) |
+| Named range | Yes | Partially | EJ2 Spreadsheet Named Range feature is supported only at the workbook scope |
| Data Binding | Yes | Yes | - |
| Formatting | Yes | Yes | - |
| Context menu | Yes | Yes | - |
@@ -40,7 +40,7 @@ The following table compares Excel functionality with the availability of EJ1 an
| Template | No | Yes | - |
| Merge cells | Yes | Yes | - |
| Show / Hide rows and columns | Yes | Yes | - |
-| Sheet customizations | Yes | Partially | Move or copy sheet is not supported in EJ2 spreadsheet. |
+| Sheet customizations | Yes | Partially | Moving or copying worksheets is not supported in the EJ2 Spreadsheet. |
| Data Validation | Yes | Yes | - |
| Table | Yes | No | - |
| Chart | Yes | Yes | - |
@@ -53,8 +53,8 @@ The following table compares Excel functionality with the availability of EJ1 an
| Autofill | Yes | No | - |
| Auto Sum | Yes | Yes | - |
| Format painter | Yes | No | - |
-| Cell Style | Yes | Partially | We can only customize the cell style in EJ2 Spreadsheet through API. |
-| Protection | Yes | Partially | Custom encryption is not supported in EJ2 Spreadsheet's protect workbook. |
+| Cell Style | Yes | Partially | Cell styles can be customized in the EJ2 Spreadsheet only through the API. |
+| Protection | Yes | Partially | Custom encryption is not supported in the EJ2 Spreadsheet workbook protection feature. |
| Find and replace | Yes | Yes | - |
| Drag and Drop | Yes | No | - |
| Notes | Yes | No | - |
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/filter.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/filter.md
index b2e364b371..76c507f0b3 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/filter.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/filter.md
@@ -18,24 +18,26 @@ By default, the `filter` module is injected internally into Spreadsheet to perfo
## Apply filter on UI
-In the active Spreadsheet, select a range of cells to filter by value of the cell. The filtering can be done by any of the following ways:
+In the active Spreadsheet, select a range of cells to filter by their values. You can apply filtering in one of the following ways:
-* Select the filter item in the Ribbon toolbar.
-* Right-click the sheet, select the filter item in the context menu.
+* Choose **Filter** from the Ribbon.
+* Right-click the selected range and choose **Filter** from the context menu.
* Use the `applyFilter()` method programmatically.
-* Use `Ctrl + Shift + L` keyboard shortcut to apply the filter.
+* Press `Ctrl + Shift + L` to apply the filter.
-N> * Use `Alt + Up/Down` keyboard shortcut to open the filter dialog.
+N> * Press `Alt + Up/Down` to open the filter dialog.
## Filter by criteria
-The `applyFilter()` method will apply the filter UI, based on the predicate and range given in the arguments.
+Use the `applyFilter()` method to apply a filter based on the specified predicate and cell range. The predicate defines the filter condition, and the range specifies the cells to which the filter is applied.
N> * The `beforeFilter` event will be triggered before filtering the specified range.
* The `filterComplete` event will be triggered after the filter action is completed successfully.
The following code example shows `filter` functionality in the Spreadsheet control.
+After running the sample, verify that only the rows matching the specified filter criteria are displayed.
+
{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/spreadsheet/asp-net-core/filter/tagHelper %}
@@ -49,11 +51,11 @@ The following code example shows `filter` functionality in the Spreadsheet contr
## Filter by cell value
-To apply a filter for a cell value, right-click the cell and choose filter -> `Filter By Selected Cell's Value` option from the menu. It applies the filter based on the value of the selected cell in the current sheet.
+To filter by a cell value, right-click the cell and choose `Filter -> Filter By Selected Cell's Value` from the context menu. The filter is applied based on the value of the selected cell in the active sheet.
## Clear filter
-After applying filter to a certain column, you may want to clear it to make all filtered rows visible again. It can be done in the following ways,
+After applying a filter, you can clear all filters to display every row again. You can clear all filters in one of the following ways:
* Choose `Clear` option in ribbon toolbar under `Filter and Sort`. It clears the filters applied in the spreadsheet for all fields.
@@ -61,18 +63,20 @@ After applying filter to a certain column, you may want to clear it to make all
## Clear filter on a field
-After filtering, you can clear/reset the filter for a field alone. It can be done in the following ways,
+You can clear or reset the filter applied to a specific field in one of the following ways:
-* Click filter icon in the column’s header and then choose `Clear Filter` option from the filter dialog.
-* You can right-click on a filtered column cell and choose `Clear Filter from .` option from the context menu.
-* Use the `clearFilter(field)` method programmatically, to clear the filter in a particular column.
+* Click the filter icon in the column header and choose `Clear Filter` from the filter dialog.
+* Right-click a cell in the filtered column and choose the corresponding `Clear Filter` option from the context menu.
+* Use the `clearFilter(field)` method to programmatically clear the filter from a specific field.
## Reapply filter
-When you want to reapply the filter after some changes happened in the rows. It can be done in the following ways,
+After modifying the data in filtered rows, you can reapply the existing filter in one of the following ways:
+
+* Choose `Reapply` from `Filter and Sort` in the Ribbon.
+* Right-click a filtered cell and choose `Reapply` from the context menu.
-* You can choose `Reapply` option in ribbon toolbar under `Filter and Sort` to reapply the filtered columns again.
-* You can right-click on a filtered cell and choose `Reapply` option from the context menu. It reapplies the filters again in the Spreadsheet for all the fields.
+Reapplying updates the filtered results based on the current data.
## Known error validations
@@ -96,11 +100,11 @@ The following code example shows how to get the filtered rows.
## Limitations
-The following features have some limitations in Filter:
+The following operations have limitations when filtering is applied:
-* Insert/delete row/column between the filter applied cells.
-* Merge cells with filter.
-* Copy/cut paste the filter applied cells.
+* Inserting or deleting rows and columns within the filtered range.
+* Merging cells within the filtered range.
+* Copying, cutting, or pasting cells within the filtered range.
## See Also
diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/formatting.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/formatting.md
index 7c548442fc..3e585219ad 100644
--- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/formatting.md
+++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/formatting.md
@@ -10,7 +10,8 @@ documentation: ug
# Formatting in ASP.NET Core Spreadsheet Control
-Formatting options make your data easier to view and understand. The different types of formatting options in the Spreadsheet are,
+Formatting options make data easier to view and understand. The Spreadsheet supports the following formatting options:
+
* Number Formatting
* Text Formatting
* Cell Formatting
@@ -19,11 +20,11 @@ Formatting options make your data easier to view and understand. The different t
## Number Formatting
-Number formatting provides a type for your data in the Spreadsheet. Use the [`allowNumberFormatting`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowNumberFormatting) property to enable or disable the number formatting option in the Spreadsheet. The different types of number formatting supported in Spreadsheet are,
+Number formatting controls how data is displayed in the Spreadsheet. Use the [`allowNumberFormatting`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowNumberFormatting) property to enable or disable the number formatting option in the Spreadsheet. The Spreadsheet supports the following number formats:
| Types | Format Code | Format ID |
|---------|---------|---------|
-| General(default) | NA | 0 |
+| General (default) | NA | 0 |
| Number | `0.00` | 2 |
| Currency | `$#,##0.00` | NA |
| Accounting | `_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)` | 44 |
@@ -37,12 +38,12 @@ Number formatting provides a type for your data in the Spreadsheet. Use the [`al
Number formatting can be applied in following ways,
* Using the `format` property in `cell`, you can set the desired format to each cell at initial load.
-* Using the `numberFormat` method, you can set the number format to a cell or range of cells.
+* Use the `numberFormat` method to apply a number format to a cell or range of cells.
* Selecting the number format option from ribbon toolbar.
### Custom Number Formatting
-Spreadsheet supports custom number formats to display your data as numbers, dates, times, percentages, and currency values. If the pre-defined number formats do not meet your needs, you can set your own custom formats using custom number formats dialog or `numberFormat` method.
+The Spreadsheet supports custom number formats for displaying numbers, dates, times, percentages, and currency values. If the pre-defined number formats do not meet your needs, you can set your own custom formats using custom number formats dialog or `numberFormat` method.
The different types of custom number format populated in the custom number format dialog are,
@@ -85,9 +86,9 @@ The different types of custom number format populated in the custom number forma
| Accounting | `_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)` | 44 |
| Accounting | `_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)` | 43 |
-Custom Number formatting can be applied in following ways,
-* Using the `numberFormat` method, you can set your own custom number format to a cell or range of cells.
-* Selecting the custom number format option from custom number formats dialog or type your own format in dialog input and then click apply button. It will apply the custom format for selected cells.
+Custom number formatting can be applied in the following ways:
+* Use the `numberFormat` method to apply a custom number format to a cell or range of cells.
+* Select the required cells, open the number format options from the Ribbon, and choose **Custom Number Format**. Select an available format or enter a custom format code, and then click **Apply**.
The following code example shows the number formatting in cell data.
@@ -100,7 +101,9 @@ The following code example shows the number formatting in cell data.
{% endhighlight %}
{% endtabs %}
-## Configure culture-based custom format
+After running the sample, verify that the selected cells display values using the configured number format.
+
+## Configure culture-based custom formats
Previously, the custom format dialog always displayed formats using the English settings (group separator, decimal separator, and currency symbol were not updated based on the applied culture). Starting from version `27.1.*`, the custom format dialog will now display formats according to the applied culture. You can select a culture-based number format from the dialog or enter your own format using the culture-specific decimal separator, group separator, and currency symbol. Then, click "Apply" to apply the culture-specific custom format to the selected cells.
@@ -110,6 +113,8 @@ Compared to Excel, the date, time, currency, and accounting formats vary across
> The format code should use the default decimal separator (.) and group separator (,).
+Obtain the Spreadsheet instance after the component is rendered, and pass it with the collection of localized format codes to the `configureLocalizedFormat` method. The `spreadsheet` parameter represents the rendered Spreadsheet instance, and the `deLocaleFormats` parameter contains the format IDs and their corresponding culture-specific format codes.
+
The code below illustrates how culture-based format codes are mapped to their corresponding number format ID for the `German` culture.
```csharp
@@ -144,6 +149,14 @@ ViewBag.deLocaleFormats = deLocaleFormats;
```
+To configure culture-based custom formats:
+
+1. Create a collection containing the default number format IDs and their corresponding culture-specific format codes.
+2. Pass the collection from the controller to the Razor view.
+3. Obtain the rendered Spreadsheet instance.
+4. Pass the Spreadsheet instance and the format collection to the `configureLocalizedFormat` method.
+5. Open the custom number format dialog and verify that the culture-specific formats are displayed.
+
The following code example demonstrates how to configure culture-based formats for different cultures in the spreadsheet.
{% tabs %}
@@ -155,9 +168,11 @@ The following code example demonstrates how to configure culture-based formats f
{% endhighlight %}
{% endtabs %}
+After running the sample, open the custom number format dialog and verify that the configured culture-specific number formats are displayed.
+
## Text and cell formatting
-Text and cell formatting enhances the look and feel of your cell. It helps to highlight a particular cell or range of cells from a whole workbook. You can apply formats like font size, font family, font color, text alignment, border etc. to a cell or range of cells. Use the [`allowCellFormatting`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowCellFormatting) property to enable or disable the text and cell formatting option in Spreadsheet. You can set the formats in following ways,
+Text and cell formatting improve the appearance of cells and helps highlight a specific cell or range in a workbook. You can apply formats like font size, font family, font color, text alignment, border etc. to a cell or range of cells. Use the [`allowCellFormatting`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowCellFormatting) property to enable or disable the text and cell formatting option in Spreadsheet. You can apply text and cell formatting in the following ways:
* Using the `style` property, you can set formats to each cell at initial load.
* Using the `cellFormat` method, you can set formats to a cell or range of cells.
* You can also apply by clicking the desired format option from the ribbon toolbar.
@@ -377,7 +392,7 @@ cells: new List