Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 and 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
Expand Down
32 changes: 16 additions & 16 deletions Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Wrap text allows you to display large content as multiple lines in a single cell
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 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.
* 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.

Expand Down Expand Up @@ -49,7 +49,7 @@ Merge cells allow users to span two or more cells in the same row or column into
You can merge cells in the following ways:

* 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.
* 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,
Expand Down Expand Up @@ -83,7 +83,7 @@ The following features have some limitations in Merge:

## 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.
The **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`.

Expand All @@ -103,7 +103,7 @@ The `addDataValidation()` method requires:

### Clear Validation

The Clear Validation feature is used to remove data validations from the specified ranges or the entire worksheet.
The **Clear Validation** feature is used to remove data validations from the specified ranges or the entire worksheet.

You can clear a data validation rule in one of the following ways:

Expand All @@ -112,7 +112,7 @@ You can clear a data validation rule in one of the following ways:

### Highlight Invalid Data

The Highlight Invalid Data feature is used to highlight previously entered invalid values.
The **Highlight Invalid Data** feature is used to highlight previously entered invalid values.

You can highlight invalid data in one of the following ways:

Expand All @@ -121,11 +121,11 @@ You can highlight invalid data in one of the following ways:

### Clear Highlighted Invalid Data

The Clear Highlight feature is used to remove highlights from invalid cells.
The **Clear Highlight** feature is used to remove highlights from invalid cells.

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.
* Select the **Data** tab in the ribbon toolbar, and then choose the **Clear Highlight** item.
* Use the `removeInvalidHighlight()` method programmatically.

{% tabs %}
Expand Down Expand Up @@ -176,13 +176,13 @@ 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).

The `autoFillSettings` property configures Auto Fill behavior:
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.
* `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:
You can perform auto fill in the following ways:

* Drag the fill handle to the required range and select an option from the **Auto Fill Options** menu.
* Use the `autoFill()` method programmatically.
Expand All @@ -194,7 +194,7 @@ The `autoFill()` method accepts the following parameters:
| 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 the Auto Fill action. |
| fillType | `AutoFillType` | Specifies the fill type ("CopyCells", "FillSeries", "FillFormattingOnly", "FillWithoutFormatting") for the auto fill action. |

Auto Fill supports the following options:

Expand All @@ -203,7 +203,7 @@ Auto Fill supports the following options:
* Fill Formatting Only
* Fill Without Formatting

N>* The default Auto Fill option is `FillSeries`, which is configured through the `fillType` property.
N>* The default auto fill option is `FillSeries`, which is configured through the `fillType` property.

### Copy Cells

Expand Down Expand Up @@ -254,11 +254,11 @@ 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 the Clear feature in 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ In the following example, a comment thread is assigned to a cell during the init
{% 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.
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ 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).
**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://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/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.

Expand Down Expand Up @@ -99,4 +99,4 @@ services:
- "6002:8080"
```

Please refer to these getting started pages to create a Spreadsheet in [`Angular`](https://ej2.syncfusion.com/angular/documentation/spreadsheet/getting-started), [`React`](https://ej2.syncfusion.com/react/documentation/spreadsheet/getting-started), [`Vue`](https://ej2.syncfusion.com/vue/documentation/spreadsheet/getting-started), [`ASP.NET Core`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/getting-started-core), and [`ASP.NET MVC`](https://ej2.syncfusion.com/aspnetmvc/documentation/spreadsheet/getting-started-mvc).
Please refer to these getting started pages to create a Spreadsheet in [`Angular`](https://help.syncfusion.com/document-processing/excel/spreadsheet/angular/getting-started), [`React`](https://help.syncfusion.com/document-processing/excel/spreadsheet/react/getting-started), [`Vue`](https://ej2.syncfusion.com/vue/documentation/spreadsheet/getting-started), [`ASP.NET Core`](https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/getting-started-core), and [`ASP.NET MVC`](https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-mvc/getting-started-mvc).
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 |
| Formulae | Yes | Partially | EJ2 supports a limited number of [`commonly used formulas`](https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/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 | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ 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.
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ After running the sample, verify that formulas containing culture-specific argum

## Create User Defined Functions / Custom Functions

The Spreadsheet includes a number of built-in formulas. For your convenience, a list of supported formulas can be found [here](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/formulas#supported-formulas).
The Spreadsheet includes a number of built-in formulas. For your convenience, a list of supported formulas can be found [here](https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/formulas#supported-formulas).

You can define and use a custom formula that is not built into the Spreadsheet by using the `addCustomFunction` method. A custom formula should return a single value. If a user-defined/custom formula returns an array, it will be time-consuming to update adjacent cell values.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation: ug

# Freeze Panes in ASP.NET Core Spreadsheet control

The Freeze Panes feature helps keep specific rows or columns visible while scrolling through the worksheet. Use the `frozenRows` and `frozenColumns` properties within the [`Sheet`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_Sheets) model to specify the number of rows and columns to freeze.
The **Freeze Panes** feature helps keep specific rows or columns visible while scrolling through the worksheet. Use the `frozenRows` and `frozenColumns` properties within the [`Sheet`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_Sheets) model to specify the number of rows and columns to freeze.

## Apply freeze panes through the UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ To load translations in the Spreadsheet:
3. Set the Spreadsheet `locale` property to the corresponding culture code.
4. Render the Spreadsheet.

The following example demonstrates the Spreadsheet in the French culture. The Ribbon tab names and Home tab content, including clipboard and cell-style options, are localized.
The following example demonstrates the Spreadsheet in the French culture. The Ribbon tab names and `Home` tab content, including clipboard and cell-style options, are localized.

{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
Expand All @@ -396,7 +396,7 @@ The following example demonstrates the Spreadsheet in the French culture. The Ri
{% endhighlight %}
{% endtabs %}

After running the sample, verify that the translated Ribbon tabs and Home tab content are displayed in French.
After running the sample, verify that the translated Ribbon tabs and `Home` tab content are displayed in French.

## Internationalization

Expand Down Expand Up @@ -430,7 +430,7 @@ RTL support changes the text direction and layout of the Spreadsheet from right
{% endhighlight %}
{% endtabs %}

After running the sample, verify that the Spreadsheet layout, Ribbon, and worksheet content are displayed from right to left.
After running the sample, verify that the spreadsheet layout, ribbon, and worksheet content are displayed from right to left.

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ The following table defines each property of the `ConditionalFormat`.
| Property | Type | Description |
|-------|-------|-------|
| type | `HighlightCell` or `TopBottom` or `DataBar` or `ColorScale` or `IconSet` | Specifies the conditional-formatting type. |
| format | `Format` | Specifies the formatting applied when the condition is met. |
| cFColor | `CFColor` | Specifies the conditional-formatting highlight color. |
| cFColor | `CFColor` | Specifies a predefined color for highlighting cells that meet the condition. |
| format | `Format` | Specifies the custom formatting to apply when preferred formatting is required instead of the predefined `cFColor` options. |
| value | string | Specifies the conditional-formatting value. |
| range | string | Specifies the range to which conditional formatting is applied. |

Expand Down Expand Up @@ -175,7 +175,7 @@ The following table defines each property of the `DefinedName`.
| comment | string | Specifies comment for the defined name. |
| refersTo | string | Specifies reference for the defined name. |

Obtain the rendered Spreadsheet instance in the `created` event handler before calling the `openFromJson()` method. Bind the `created` event when rendering the Spreadsheet.
Bind the `created` event when rendering the Spreadsheet. In the `created` event handler, obtain the rendered Spreadsheet instance and call the `openFromJson()` method with the constructed Workbook JSON object to render the Spreadsheet.

The following example passes the constructed JSON object to the `openFromJson()` method in the [`created`](https://help.syncfusion.com/cr/aspnetmvc-js2/syncfusion.ej2.spreadsheet.spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_Created) event handler to render the Spreadsheet.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ After running the sample, verify that the image is inserted at the specified pos

### Limitations of Image

The Image feature has the following limitations:
The image feature has the following limitations:

* Images cannot be resized using the corner handles.
* Copying and pasting images from external sources has limited support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The following keyboard shortcuts are supported in the Spreadsheet:
|----------|-------------|
| Ctrl + O | Displays a dialog to open a file. |
| Ctrl + S / Alt + F2 | Saves the workbook. |
| Ctrl + P | Prints the active worksheet when the Spreadsheet is in focus. |
| Ctrl + P | Prints the active worksheet when the spreadsheet is in focus. |
| Ctrl + Alt + N | Opens a new workbook. |
| Shift + F11 | Adds a new worksheet. |

Expand Down Expand Up @@ -136,18 +136,18 @@ The following keyboard shortcuts are supported in the Spreadsheet:

| Shortcut | Description |
|----------|-------------|
| Alt | Focuses the active Ribbon tab. |
| Alt | Focuses the active ribbon tab. |
| Alt + F | Opens the **File** menu. |
| Alt + H | Opens the **Home** tab. |
| Alt + N | Opens the **Insert** tab. |
| Alt + M | Opens the **Formulas** tab. |
| Alt + A | Opens the **Data** tab. |
| Alt + W | Opens the **View** tab. |
| Left arrow | Moves the focus to the previous item in the Ribbon. |
| Right arrow | Moves the focus to the next item in the Ribbon. |
| Alt + Down | Opens the selected Ribbon dropdown menu. |
| Esc / Alt + Up | Closes the Ribbon dropdown menu. |
| Ctrl + F8 | Expands or collapses the Ribbon content. |
| Left arrow | Moves the focus to the previous item in the ribbon. |
| Right arrow | Moves the focus to the next item in the ribbon. |
| Alt + Down | Opens the selected ribbon dropdown menu. |
| Esc / Alt + Up | Closes the ribbon dropdown menu. |
| Ctrl + F8 | Expands or collapses the ribbon content. |
| Ctrl + Shift + U | Expands or collapses the formula bar. |
| Shift + Alt + K | Opens the **List All Sheets** dropdown. |

Expand Down
Loading