Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2f5fca2
1013149: Refined the content and titles by diataxis approach
eswaran-suyamprakasam Mar 6, 2026
d98cba5
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 6, 2026
43d9189
1013149: Resolved the CI error in url
eswaran-suyamprakasam Mar 6, 2026
87f82c1
Merge branch 'development' into EJ2-1013149-diataxis-check
eswaran-suyamprakasam Mar 12, 2026
c2a3a10
1013149: Added API references and CI error
eswaran-suyamprakasam Mar 12, 2026
da5dd1f
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 12, 2026
166a770
Merge branch 'EJ2-1013149-diataxis-check' of https://github.com/syncf…
eswaran-suyamprakasam Mar 12, 2026
7586009
1013149: Added missing API property
eswaran-suyamprakasam Mar 13, 2026
47ffff5
1013149: Removed the paranthesis for methods
eswaran-suyamprakasam Mar 13, 2026
2ee474b
1013149: Added notes related gif
eswaran-suyamprakasam Mar 6, 2026
3285034
1012802: Changes added
Kathiresan4347 Mar 12, 2026
7eb40e2
1012802: Resolved CI issues
Kathiresan4347 Mar 12, 2026
dfeaf9d
1012802: Title modified
Kathiresan4347 Mar 12, 2026
6a37d49
1012802: CI issue resolved
Kathiresan4347 Mar 12, 2026
467aed8
1012802: Issue resolved
Kathiresan4347 Mar 12, 2026
a5eb69a
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 13, 2026
7deaaa8
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 13, 2026
37efa76
1013149: Modify the content for readability
eswaran-suyamprakasam Mar 13, 2026
2cd9850
1013149: Resolved CI error in url
eswaran-suyamprakasam Mar 13, 2026
97aead2
1013149: Changes are done for titles and API references.
eswaran-suyamprakasam Mar 16, 2026
9566582
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 16, 2026
789a532
1013149: Resolved the CI error
eswaran-suyamprakasam Mar 16, 2026
b5987e5
1013149: Resolved spell check error in formula
eswaran-suyamprakasam Mar 16, 2026
6a63e52
Merge branch 'development' of https://github.com/syncfusion-content/d…
eswaran-suyamprakasam Mar 16, 2026
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 @@ -61,7 +61,7 @@ The Spreadsheet component followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/ap

## Keyboard interaction

The Spreadsheet component 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 component.
The Spreadsheet component 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 component.

| Press | To do this |
|----------|-------------|
Expand Down
44 changes: 28 additions & 16 deletions Document-Processing/Excel/Spreadsheet/React/cell-range.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ To get start quickly with Cell Range, you can check on this video:

{% youtube "https://www.youtube.com/watch?v=izgXkfzUMBQ" %}

## Wrap text
## Wrap Text in Cells

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://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#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,

* Using the `wrap` property in `cell`, you can enable or disable wrap text to a cell at initial load.
* Using the [wrap](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/cell#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.
* Using the [`wrap`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#wrap) method, you can apply or remove the wrap text once the component is loaded.

Expand Down Expand Up @@ -51,13 +51,13 @@ The following features have some limitations in wrap text:
* Sorting with wrap text applied data.
* Merge with wrap text

## Merge cells
## Cell Merge and Span

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://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowmerge) property to enable or disable the merge cells option in spreadsheet.

You can merge the range of cells in the following ways,

* Set the `rowSpan` and `colSpan` property in `cell` to merge the number of cells at initial load.
* Set the [rowSpan](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/cell#rowspan) and [colSpan](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/cell#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`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#merge) method to merge the range of cells, once the component is loaded.

Expand Down Expand Up @@ -98,12 +98,12 @@ The following features have some limitations in Merge:

## Auto Fill

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` 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`.
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://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowautofill) property to enable/disable the auto fill support. You can also use [showFillOptions](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/autofillsettings#showfilloptions) property to enable/disable the fill option and [fillType](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/autofillsettings#filltype) property to change the default auto fill option which is available in [autoFillSettings](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofillsettings).

You can do this by one of the following ways,

* Using “AutoFillOptions” menu which is open, while drag and drop the cell using fill handle element.
* Use the autoFill() method programmatically.
* Use the [autoFill](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofill) method programmatically.

The available parameters in `autoFill()` method are,

Expand All @@ -121,14 +121,14 @@ In Auto Fill we have following options,
* Fill Formatting Only
* Fill Without Formatting

>* The default auto fill option is “FillSeries” which can be referred from `fillType` property.
>* The default auto fill option is “FillSeries” which can be referred from [fillType](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/autofillsettings#filltype) property.

### Copy Cells

To copy the selected cell content to the adjacent cells. You can do this by 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.
* Using “CopyCells” as fill type in [autoFill](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofill) method to fill the adjacent cells.

### Fill Series

Expand All @@ -137,7 +137,7 @@ To fill the series of numbers, characters, or dates based on selected cell conte
You can do this by 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.
* Using “FillSeries” as fill type in [autoFill](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofill) method to fill the adjacent cells.

### Fill Formatting Only

Expand All @@ -146,7 +146,7 @@ To fill the cell style and number formatting based on the selected cell content
You can do this by 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.
* Using “FillFormattingOnly” as fill type in [autoFill](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofill) method to fill the adjacent cells.

### Fill Without Formatting

Expand All @@ -155,9 +155,9 @@ To fill series of numbers, characters, or dates based on the selected cells to t
You can do this by 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.
* Using “FillWithoutFormatting” as fill type in [autoFill](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofill) method to fill the adjacent cells.

In the following sample, you can enable/disable the fill option on the button click event by using the `showFillOptions` property in `autoFillSettings`.
In the following sample, you can enable/disable the fill option on the button click event by using the [showFillOptions](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/autofillsettings#showfilloptions) property in [autoFillSettings](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#autofillsettings).

{% tabs %}
{% highlight js tabtitle="app.jsx" %}
Expand All @@ -183,16 +183,16 @@ The following features have some limitations in Autofill:
* Flash Fill option in Autofill feature.
* Fill with Conditional Formatting applied cells.

## Clear
## Clearing Cell Data and Formatting

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
### Apply Cell Clear Feature

You can apply clear feature by using one of the following ways,

* Select the clear icon in the Ribbon toolbar under the Home Tab.
* Using the [`clear()`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#clear) method to clear the values.
* Using the [`clear`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#clear) method to clear the values.

Clear has the following types in the spreadsheet,

Expand Down Expand Up @@ -224,9 +224,21 @@ Clear the cell contents and formats in the Spreadsheet document by using the [cl

{% previewsample "/document-processing/code-snippet/spreadsheet/react/clear-cs1" %}

## Quick Lookup

- `allowWrap` - enables or disables wrap‑text support globally for the spreadsheet.
- `wrap(range, isWrap)` - applies or removes wrap text for the specified cell or range after the sheet is loaded.
- `allowDataValidation` - turns data‑validation features on or off for the spreadsheet.
- `addDataValidation(rule, range)` - applies a data‑validation rule to the given range (list, number, text length, date, etc.).
- `removeDataValidation(range)` - removes validation rules from the selected cell but keeps existing values.
- `addInvalidHighlight(range)` - highlights all cells that contain values violating their validation rules.
- `removeInvalidHighlight(range)` - clears the highlight applied to invalid cells without removing the rules.
- `allowAutoFill` - enables or disables the Auto Fill feature and fill‑handle interaction.
- `autoFill(fillRange, dataRange, direction, fillType)` - fills a target range by copying, generating series, or applying styles based on the source range.

## Note

You can refer to our [React Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) feature tour page for its groundbreaking feature representations. You can also explore our [React Spreadsheet example](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) to knows how to present and manipulate data.
You can refer to our [React Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) feature tour page for its groundbreaking feature representations. You can also explore our [React Spreadsheet example](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) to know how to present and manipulate data.

## See Also

Expand Down
24 changes: 12 additions & 12 deletions Document-Processing/Excel/Spreadsheet/React/clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ platform: document-processing
documentation: ug
---

# Clipboard in React Spreadsheet component
# Clipboard actions in React Spreadsheet component

The Spreadsheet provides support for the clipboard operations (cut, copy, and paste). Clipboard operations can be enabled or disabled by setting the [`enableClipboard`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#enableclipboard) property in Spreadsheet.
The Spreadsheet provides support for the clipboard operations (cut, copy, and paste). Clipboard operations can be enabled or disabled by setting the [`enableClipboard`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet#enableclipboard) property in Spreadsheet.

> By default, the `enableClipboard` property is true.
> By default, the `enableClipboard` property is `true`.
## Cut
## Cut Operation

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.

Expand All @@ -24,9 +24,9 @@ Cut can be done in one of the following ways.
* Using Cut button in the Ribbon’s HOME tab to perform cut operation.
* Using Cut option in the Context Menu.
* Using `Ctrl + X` | `Command + X` keyboard shortcut.
* Using the [`cut`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#cut) method.
* Using the [`cut`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet#cut) method.

## Copy
## Copy Operation

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.

Expand All @@ -37,9 +37,9 @@ Copy can be done in one of the following ways.
* Using Copy button in the Ribbon’s HOME tab to perform copy operation.
* Using Copy option in the Context Menu.
* Using `Ctrl + C` | `Command + C` keyboard shortcut.
* Using the [`copy`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#copy) method.
* Using the [`copy`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet#copy) method.

## Paste
## Paste Operation

It is used to paste the clipboard data to the selected range, rows or columns. You have the following options in Paste,

Expand All @@ -55,7 +55,7 @@ Paste can be done in one of the following ways.
* Using Paste button in the Ribbon’s HOME tab to perform paste operation.
* Using Paste option in the Context Menu.
* Using `Ctrl + V` | `Command + V` keyboard shortcut.
* Using the [`paste`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#paste) method.
* Using the [`paste`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet#paste) method.

> If you use the Keyboard shortcut key for cut (`Ctrl + X`) / copy (`Ctrl + C`) from other sources, you should use `Ctrl + V` shortcut while pasting into the spreadsheet.
Expand All @@ -78,7 +78,7 @@ Paste can be done in one of the following ways.

## Prevent the paste functionality

The following example shows, how to prevent the paste action in spreadsheet. In [`actionBegin`](https://ej2.syncfusion.com/react/documentation/api/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 spreadsheet. In [`actionBegin`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet#actionbegin) event, you can set `cancel` argument as false in paste request type.

{% tabs %}
{% highlight js tabtitle="app.jsx" %}
Expand All @@ -97,7 +97,7 @@ The following example shows, how to prevent the paste action in spreadsheet. In

{% previewsample "/document-processing/code-snippet/spreadsheet/react/clipboard-cs2" %}

## Limitations
## Limitations of Clipboard actions

* 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).
Expand All @@ -106,4 +106,4 @@ The following example shows, how to prevent the paste action in spreadsheet. In

## Note

You can refer to our [React Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) feature tour page for its groundbreaking feature representations. You can also explore our [React Spreadsheet example](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) to knows how to present and manipulate data.
You can refer to our [React Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) feature tour page for its groundbreaking feature representations. You can also explore our [React Spreadsheet example](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) to know how to present and manipulate data.
10 changes: 5 additions & 5 deletions Document-Processing/Excel/Spreadsheet/React/comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Cells with comment display a small comment indicator; hover to preview the comme
![Spreadsheet showing a comment](./images/spreadsheet_comment.png)

## Author identity
The Syncfusion Spreadsheet does not automatically track user identity. To tag new comments and replies with an author name, set the `author` property when initializing the Spreadsheet.
The Syncfusion Spreadsheet does not automatically track user identity. To tag new comments and replies with an author name, set the [author](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#author) property when initializing the Spreadsheet.

```ts
import * as React from 'react';
Expand All @@ -32,15 +32,15 @@ The Syncfusion Spreadsheet does not automatically track user identity. To tag ne
const root = createRoot(document.getElementById('root')!);
root.render(<App />);
```
>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" will be displayed as the author for comment and replies by default.

## Adding a comment
You can add a **comment** to a cell in several ways:
* **Context menu**: Right-click the target cell and select **"New Comment"**.
* **Ribbon**: Go to **Review > Comment > New Comment**.
* **Keyboard shortcut**: Press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>F2</kbd> to open the comment editor for the active cell.
* **Programmatically**:
* Use the `updateCell` method with the comment model to add a comment to a specific cell.
* Use the [updateCell](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#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.

The image below shows that once a comment is posted, the cell displays an indicator, and the comment can be previewed on hover.
Expand Down Expand Up @@ -128,7 +128,7 @@ The **"Comments" review pane** provides a centralized view of all comments in th
You can show or hide the "Comments" review pane using:

* **Ribbon**: Go to **Review > Comment > Show Comments**.
* **Property**: Set the `showCommentsPane` property to true when initializing the Spreadsheet. By default, this property is **false**.
* **Property**: Set the [showCommentsPane](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#showcommentspane) property to true when initializing the Spreadsheet. By default, this property is **false**.

![Show comments in Spreadsheet](./images/spreadsheet_show_comments.gif)

Expand Down Expand Up @@ -170,7 +170,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 below sample, comments are added to a specific cell using cell data binding. The "Comments" review pane is shown initially by enabling the [showCommentsPane](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#showcommentspane) property, and comments are added using [updateCell](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#updatecell) method in the `created` event.

{% tabs %}
{% highlight js tabtitle="app.jsx" %}
Expand Down
Loading