Skip to content

Commit 64e247d

Browse files
Merge branch 'development' into 965441-KBLinks
2 parents 844dc1e + 10934d6 commit 64e247d

11 files changed

+114
-7
lines changed

blazor-toc.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4567,6 +4567,8 @@
45674567
</ul>
45684568
</li>
45694569
<li><a href="/blazor/spreadsheet/open-and-save">Open and Save</a></li>
4570+
<li><a href="/blazor/spreadsheet/editing">Editing</a></li>
4571+
<li><a href="/blazor/spreadsheet/contextmenu">Context Menu</a></li>
45704572
</ul>
45714573
</li>
45724574
<li>Stepper

blazor/spreadsheet/contextmenu.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
layout: post
3+
title: Context Menu in Blazor Spreadsheet component | Syncfusion
4+
description: Checkout and learn here about the context menu functionality in the Syncfusion Blazor Spreadsheet component and more.
5+
platform: Blazor
6+
control: Spreadsheet
7+
documentation: ug
8+
---
9+
10+
# Context Menu in Blazor Spreadsheet component
11+
12+
The context menu is used to improve user interaction with the Spreadsheet component using the built-in popup menu. It opens when right-clicking on a cell, column header, row header, or sheet tab in the Spreadsheet. The [EnableContextMenu](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_EnableContextMenu) property can be used to enable/disable the context menu.
13+
14+
> The default value for the `EnableContextMenu` property is **true**.
15+
16+
## Cell context menu options
17+
18+
Please find the table below for the default context menu options and their actions.
19+
20+
| Options | Action |
21+
| -- | -- |
22+
| Cut | Cut the selected cells data to the clipboard. The data can be pasted into a different cell location. |
23+
| Copy | Copy the selected cells data to the clipboard for pasting elsewhere. |
24+
| Paste | Paste the data from clipboard to Spreadsheet. |
25+
| Hyperlink | Create a link in the Spreadsheet to navigate to web links or cell reference within the sheet or other sheets in the Spreadsheet. |
26+
| Sort | Perform sorting to the selected range of cells by ascending or descending. |
27+
| Clear Contents | Remove the selected cells data. |
28+
| Filter | Perform filtering to the selected cells based on an active cells value. |
29+
30+
![UI showing context menu options for cell](./images/cell-contextmenu.png)
31+
32+
## Row and column header context menu options
33+
34+
Please find the table below for the default context menu options and their actions.
35+
36+
| Options | Action |
37+
| -- | -- |
38+
| Cut | Cut the selected row/column header data to the clipboard. The data can be pasted into a different cell location. |
39+
| Copy | Copy the selected row/column header data to the clipboard for pasting elsewhere. |
40+
| Paste | Paste the data from the clipboard to Spreadsheet. |
41+
| Insert Rows / Insert Columns | Insert new rows or columns into the worksheet. |
42+
43+
![UI showing context menu options for row header](./images/row-header-contextmenu.png)
44+
45+
![UI showing context menu options for column header](./images/column-header-contextmenu.png)
46+
47+
## Sheet tab context menu options
48+
49+
Please find the table below for the default context menu options and their actions.
50+
51+
| Options | Action |
52+
| -- | -- |
53+
| Insert | Insert a new worksheet after the existing worksheet in the Spreadsheet. |
54+
| Delete | Delete the selected worksheet from the Spreadsheet. |
55+
| Duplicate | Create a copy of the selected worksheet in the Spreadsheet. |
56+
| Rename | Rename the selected worksheet. |
57+
| Protect Sheet / Unprotect Sheet | Protect sheet prevents unwanted changes from others by limiting their ability to edit. Unprotect sheet removes these restrictions. |
58+
| Move Right | Move the selected worksheet to the right of the next sheet. |
59+
| Move Left | Move the selected worksheet to the left of the previous sheet. |
60+
| Hide | Hide the selected worksheet. |
61+
62+
![UI showing context menu options for sheet tab](./images/sheet-tab-contextmenu.png)

blazor/spreadsheet/editing.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: post
3+
title: Cell Editing in Blazor Spreadsheet component | Syncfusion
4+
description: Checkout and learn here about the cell editing features in the Syncfusion Blazor Spreadsheet component and more.
5+
platform: Blazor
6+
control: Spreadsheet
7+
documentation: ug
8+
---
9+
10+
# Editing in Blazor Spreadsheet component
11+
12+
The contents of a cell can be edited directly within 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/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowEditing) property to enable or disable the editing feature.
13+
14+
## Edit cell
15+
16+
Editing can be started in one of the following ways,
17+
18+
* Double-click a cell to start edit mode.
19+
* Press the `F2` key to edit the active cell.
20+
* Use the formula bar to perform editing.
21+
* Press `BACKSPACE` or `SPACE` key to clear the cell content and start edit mode.
22+
23+
## Save cell
24+
25+
If the cell is in an editable state, the edited cell can be saved in one of the following ways,
26+
27+
* Click any other cell except the one currently being edited.
28+
29+
* Press the `Enter` or `Tab` key to save the edited cell.
30+
31+
## Cancel editing
32+
33+
To cancel editing without saving changes, press the `ESCAPE` key. This exits the editable state and restores the original cell content.
34+
35+
The following animation illustrates basic cell editing operations in the Spreadsheet component, including double-clicking a cell to enter edit mode, editing values directly, saving changes by pressing `ENTER` key, and canceling edits with the `ESCAPE` key.
36+
37+
![UI showing cell editing](./images/cell-editing.gif)
38+
39+

blazor/spreadsheet/getting-started-webapp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Getting Started with Blazor Spreadsheet in Web App
1111

12-
This section briefly explains about how to include [Syncfusion Blazor Spreadsheet](https://www.syncfusion.com/blazor-components) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
12+
This section briefly explains about how to include [Syncfusion Blazor Spreadsheet](https://www.syncfusion.com/blazor-components/blazor-spreadsheet) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
1313

1414
{% tabcontents %}
1515

@@ -27,7 +27,7 @@ You need to configure the corresponding [Interactive render mode](https://learn.
2727

2828
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Spreadsheet and Themes NuGet in the App
2929

30-
To add **Syncfusion Blazor Spreadsheet** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
30+
To add **Syncfusion Blazor Spreadsheet** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor.Spreadsheet) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
3131

3232
If you utilize `WebAssembly or Auto` render modes in the Blazor Web App need to be install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components NuGet packages within the client project.
3333

@@ -78,7 +78,7 @@ If you utilize `WebAssembly` or `Auto` render modes in the Blazor Web App need t
7878

7979
* Press <kbd>Ctrl</kbd>+<kbd>`</kbd> to open the integrated terminal in Visual Studio Code.
8080
* Ensure you’re in the project root directory where your `.csproj` file is located.
81-
* Run the following command to install a [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
81+
* Run the following command to install a [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor.Spreadsheet) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
8282

8383
{% tabs %}
8484

blazor/spreadsheet/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Getting Started with Blazor Spreadsheet Component
1111

12-
This section briefly explains about how to include [Blazor Spreadsheet](https://www.syncfusion.com/blazor-components) component in your Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
12+
This section briefly explains about how to include [Blazor Spreadsheet](https://www.syncfusion.com/blazor-components/blazor-spreadsheet) component in your Blazor WebAssembly App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
1313

1414
{% tabcontents %}
1515

@@ -25,7 +25,7 @@ You can create a **Blazor WebAssembly App** using Visual Studio via [Microsoft T
2525

2626
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Spreadsheet and Themes NuGet in the App
2727

28-
To add **Blazor Spreadsheet** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/). Alternatively, you can utilize the following package manager command to achieve the same.
28+
To add **Blazor Spreadsheet** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor.Spreadsheet) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/). Alternatively, you can utilize the following package manager command to achieve the same.
2929

3030
{% tabs %}
3131
{% highlight C# tabtitle="Package Manager" %}
@@ -67,7 +67,7 @@ cd BlazorApp
6767

6868
* Press <kbd>Ctrl</kbd>+<kbd>`</kbd> to open the integrated terminal in Visual Studio Code.
6969
* Ensure you’re in the project root directory where your `.csproj` file is located.
70-
* Run the following command to install a [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
70+
* Run the following command to install a [Syncfusion.Blazor.Spreadsheet](https://www.nuget.org/packages/Syncfusion.Blazor.Spreadsheet) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
7171

7272
{% tabs %}
7373

Loading
97.6 KB
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)