-
Notifications
You must be signed in to change notification settings - Fork 72
964152: Added content for protected sheet and named ranges #6198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1241b6a
964152: Added content for protected sheet and named ranges
SrisabariSF4261 61f1ace
Merge branch 'hotfix/hotfix-v30.1.37' into BLAZ-964152-Sample
SrisabariSF4261 3968dbc
964152: Added content for protected sheet and named ranges
SrisabariSF4261 d6a0608
964152: Added content for protected sheet and named ranges
SrisabariSF4261 600e66a
964152: Added content for protected sheet and named ranges
SrisabariSF4261 991cf2b
Merge branch 'hotfix/hotfix-v30.1.37' into BLAZ-964152-Sample
SrisabariSF4261 d0338e3
964152: Added content for protected sheet and named ranges
SrisabariSF4261 b8cf4e8
964152: Added content for protected sheet and named ranges
SrisabariSF4261 ec9d0ad
964152: Added content for protected sheet and named ranges
SrisabariSF4261 736b35e
Merge branch 'hotfix/hotfix-v30.1.37' into BLAZ-964152-Sample
SrisabariSF4261 3e7cbbd
964152: Added content for protected sheet and named ranges
SrisabariSF4261 d94ca00
Merge branch 'BLAZ-964152-Sample' of https://github.com/syncfusion-co…
SrisabariSF4261 658d09c
BLAZ-003: Update the corrections
Venkat-Ayothi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| --- | ||
| layout: post | ||
| title: Protect Sheet in Blazor Spreadsheet Component | Syncfusion | ||
| description: Checkout and learn here all about protect sheet in Syncfusion Blazor Spreadsheet component and more. | ||
| platform: Blazor | ||
| control: Spreadsheet | ||
| documentation: ug | ||
| --- | ||
|
|
||
| # Protect Sheet in Blazor Spreadsheet component | ||
|
|
||
| Sheet protection is used to prevent unauthorized modification of data within the sheet. | ||
|
|
||
| ## Protect Sheet | ||
|
|
||
| The **Protect Sheet** support helps prevent accidental changes such as editing, moving, or deleting data. Protection can be applied with or without a password, depending on the level of security required. | ||
|
|
||
| ### Protecting sheets via the UI | ||
|
|
||
| In the active sheet, the sheet protection can be done by any of the following ways: | ||
|
|
||
| * Select **Protect Sheet** from the **Review** tab in the Ribbon toolbar and choose the desired options. | ||
|
|
||
| * Right-click the sheet tab context menu option, select **Protect Sheet** from the context menu, and choose the desired options. | ||
|
|
||
|  | ||
|
|
||
| ### Unlock particular cell or ranges in the protected sheet via the UI | ||
|
|
||
| To allow editing of specific cells or ranges in a protected sheet: | ||
|
|
||
| * Open the **Protect Sheet** dialog. | ||
|
|
||
| * Navigate to the **Unlock Range** tab. | ||
|
|
||
| * Select the desired cell(s) or range(s) that should remain editable, even when the sheet is protected. These cells will not be locked and can be modified while other parts of the sheet remain restricted. | ||
|
|
||
|  | ||
|
|
||
| ### Protection settings in a protected sheet | ||
|
|
||
| By default, when a sheet is protected, most actions such as formatting, inserting, sorting, and filtering are restricted, while selecting cells remains allowed. | ||
|
|
||
| To enable specific functionalities while the sheet is protected: | ||
|
|
||
| * Open the **Protect Sheet** dialog from the **Review** tab. | ||
|
|
||
| * In the dialog, navigate to the **Sheet Options** tab to view available protection settings. | ||
|
|
||
| * Select or deselect the desired options to allow or restrict specific actions. | ||
|
|
||
| * Click **OK** to apply the protection settings. | ||
|
|
||
| The available protection settings in Spreadsheet are: | ||
|
|
||
| | Options | Description | | ||
| |------------------------|---------| | ||
| | Select Cells | Allows cell selection. | | ||
| | Format Cells | Allows cell formatting. | | ||
| | Format Rows | Allows row formatting. | | ||
| | Format Columns | Allows column formatting. | | ||
| | Insert Columns | Allows inserting new columns. | | ||
| | Insert Rows | Allows inserting new rows. | | ||
| | Insert Hyperlinks | Allows adding hyperlinks. | | ||
| | Sort | Allows sorting data. | | ||
| | Filter | Allows filtering data. | | ||
|
|
||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|  | ||
|
|
||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ## Unprotect Sheet | ||
|
|
||
| The **Unprotect Sheet** support restores access to all actions that were previously restricted by sheet protection. Once unprotected, the sheet allows full interaction, including editing, formatting, inserting, and deleting content. | ||
|
|
||
| ### Unprotecting sheets via the UI | ||
|
|
||
| In the active sheet, the sheet unprotection can be done by any of the following ways: | ||
|
|
||
| * Select **Unprotect Sheet** from the **Review** tab in the Ribbon toolbar. | ||
|
|
||
| * Right-click the sheet tab context menu option and select **Unprotect Sheet** from the context menu. | ||
|
|
||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|  | ||
|
|
||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ## Protect Workbook | ||
|
|
||
| The **Protect Workbook** support restricts structural modifications within a workbook. Actions such as inserting, deleting, renaming, or hiding sheets are disabled when this protection is enabled. Protection can be configured with or without a password, depending on the desired level of security. | ||
|
|
||
| ### Protecting workbooks via the UI | ||
|
|
||
| To protect the workbook: | ||
|
|
||
| * Go to the **Review** tab in the Ribbon toolbar. | ||
|
|
||
| * Select **Protect Workbook**, enter and confirm the desired password, and then click **OK** to apply the protection. | ||
|
|
||
|  | ||
|
|
||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ## Unprotect Workbook | ||
|
|
||
| The **Unprotect Workbook** support enables structural modifications within a workbook. Once unprotected, actions such as inserting, deleting, renaming, moving, copying, hiding, or unhiding sheets become available. | ||
|
|
||
| ### Unprotecting workbooks via the UI | ||
|
|
||
| To unprotect the workbook: | ||
SrisabariSF4261 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| * Select **Unprotect Workbook** from the **Review** tab in the Ribbon toolbar. | ||
|
|
||
| * Enter the correct password in the dialog box, then click **OK**. | ||
|
|
||
|  | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.