You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Excel/Spreadsheet/Blazor/hyperlink.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ control: Spreadsheet
7
7
documentation: ug
8
8
---
9
9
10
-
# Hyperlinks in Blazor Spreadsheet component
10
+
# Hyperlinks in the Blazor Spreadsheet component
11
11
12
12
Hyperlinks in the Blazor Spreadsheet enable interactive navigation both within and outside of spreadsheets. This feature creates clickable links that connect to external web URLs, specific cells within the current worksheet, or cells in other worksheets. To control this functionality, use the [AllowHyperlink](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowHyperlink) property, which enables or disables hyperlink support in the Spreadsheet. The default value of the `AllowHyperlink` property is **true**.
13
13
14
14
The keyboard shortcut `Ctrl + K` can be used to quickly open the **Insert** or **Edit** hyperlink dialog for the active cell, without using the UI elements. This shortcut works regardless of whether the hyperlink functionality is accessed through the Ribbon or the Context Menu.
15
15
16
16
N> When `AllowHyperlink` is set to **false**, the hyperlink options are removed from the interface (Ribbon and Context Menu), although existing hyperlinks will still function. Additionally, shortcut keys (**Ctrl + K**) and API methods related to this feature will no longer work.
17
17
18
-
## Insert hyperlink
18
+
## Insert Hyperlink
19
19
20
20
Hyperlinks can be added to worksheet cells to create interactive elements that improve navigation and connect data to external sources. These links can point to:
21
21
***Web URLs** - Direct access to websites, such as `https://www.syncfusion.com`.
@@ -24,7 +24,7 @@ Hyperlinks can be added to worksheet cells to create interactive elements that i
24
24
25
25
The linked cells are typically formatted with underlined and colored text to indicate they are clickable.
26
26
27
-
### Insert hyperlink via UI
27
+
### Insert Hyperlink via UI
28
28
29
29
Hyperlinks can be inserted through the user interface (UI) using any of the following methods:
30
30
@@ -47,7 +47,7 @@ Hyperlinks can be inserted through the user interface (UI) using any of the foll
47
47
48
48

49
49
50
-
### Insert hyperlink programmatically
50
+
### Insert Hyperlink Programmatically
51
51
52
52
Hyperlinks can be added programmatically using the [AddHyperlinkAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AddHyperlinkAsync_System_String_System_String_System_String_) method. This method allows hyperlinks to be added to a cell or range of cells without using the UI. The available parameters in the `AddHyperlinkAsync` method are:
Hyperlinks in a spreadsheet can be edited to update the destination or the display text. This includes:
125
125
@@ -128,7 +128,7 @@ Hyperlinks in a spreadsheet can be edited to update the destination or the displ
128
128
-**Updating Cell References** - Modify the hyperlink to point to a different cell in the same sheet (e.g., from `A1` to `B5`).
129
129
-**Linking to Another Sheet** - Redirect the hyperlink to a different sheet by modifying the sheet name in the reference (e.g., from `Sheet1!A1` to `Sheet2!C3`).
130
130
131
-
### Edit hyperlink via UI
131
+
### Edit Hyperlink via UI
132
132
133
133
Hyperlinks can be edited through the user interface (UI) using any of the following methods:
134
134
@@ -153,19 +153,19 @@ Hyperlinks can be edited through the user interface (UI) using any of the follow
153
153
154
154
> When editing hyperlinks to other sheets, ensure that the target sheet exists in the workbook. Links to non-existent sheets result in errors when clicked.
155
155
156
-
## Remove hyperlink
156
+
## Remove Hyperlink
157
157
158
158
Removing a hyperlink disconnects the cell from its associated destination while retaining the display text. This operation eliminates only the hyperlink functionality without altering the actual content of the cell. Any cells that do not contain a hyperlink are ignored during the process, and no errors are generated.
159
159
160
-
### Remove hyperlink via UI
160
+
### Remove Hyperlink via UI
161
161
162
162
To remove a hyperlink using the interface, select the cell that contains the hyperlink, then right-click to open the context menu. From the available options, choose **Remove Hyperlink** to delete the link from the selected cell.
163
163
164
164
When dealing with multiple hyperlinks, selecting a range of cells-such as `A1` to `D5`-allows all hyperlinks within that range to be removed in a single operation. This method is efficient for cleaning up large sets of hyperlinks quickly.
165
165
166
166

167
167
168
-
### Remove hyperlink programmatically
168
+
### Remove Hyperlink Programmatically
169
169
170
170
Hyperlinks can be removed programmatically by using the [RemoveHyperlinkAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_RemoveHyperlinkAsync_System_String_) method. This method eliminates hyperlink functionality from the specified cell or range of cells within a spreadsheet, allowing for efficient bulk removal through code. The available parameters in the `RemoveHyperlinkAsync` method are:
0 commit comments