From 74f2451bd357ca57ca5fde661b21e745e2630d0e Mon Sep 17 00:00:00 2001 From: Yazhdilipan-SF5086 Date: Mon, 22 Sep 2025 18:22:26 +0530 Subject: [PATCH 1/6] 983001: Changes in Sorting,protection,Selection --- .../Excel/Spreadsheet/Blazor/protection.md | 15 ++++--- .../Excel/Spreadsheet/Blazor/selection.md | 28 ++++++------ .../Excel/Spreadsheet/Blazor/sorting.md | 43 ++++++++++--------- 3 files changed, 44 insertions(+), 42 deletions(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md index 7949fd42c..5cb0ccf47 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md @@ -1,7 +1,7 @@ --- 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. +title: Protect Sheets and Workbooks in Blazor Spreadsheet Component | Syncfusion +description: Learn how to protect and unprotect worksheets and workbooks in the Syncfusion Blazor Spreadsheet component, both through the UI and more. platform: document-processing control: Spreadsheet documentation: ug @@ -11,17 +11,18 @@ documentation: ug Sheet protection is used to prevent unauthorized modification of data within the sheet. -## Protect Sheet +## Sheet Protection 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 +### Protecting a sheet via the UI -In the active sheet, the sheet protection can be done by any of the following ways: +You can protect the active sheet in one of the following ways: -* Select **Protect Sheet** from the **Review** tab in the Ribbon toolbar and choose the desired options. +* Navigate to the **Review** tab in the Ribbon and select **Protect Sheet**. +* Right-click the sheet's tab in the bottom bar and select **Protect Sheet** from the context menu. -* Right-click the sheet tab context menu option, select **Protect Sheet** from the context menu, and choose the desired options. +In the **Protect Sheet** dialog, you can set a password and specify which actions users are allowed to perform. ![Protected Sheet Dialog](./images/protect-sheet.gif) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/selection.md b/Document-Processing/Excel/Spreadsheet/Blazor/selection.md index 48d6cdbaf..296382783 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/selection.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/selection.md @@ -1,39 +1,39 @@ --- layout: post title: Selection in Blazor Spreadsheet Component | Syncfusion -description: Checkout and learn here all about comprehensive selection functionality in Syncfusion Blazor Spreadsheet component and much more. +description: Learn about the comprehensive selection functionality in the Syncfusion Blazor Spreadsheet component, including programmatic and UI-driven methods. platform: document-processing control: Spreadsheet documentation: ug --- -# Selection in Blazor Spreadsheet component +# Selection in Blazor Spreadsheet Component The selection feature in the Spreadsheet component enables interactive highlighting and manipulation of cells, rows, or columns for data analysis and editing operations. The functionality offers intuitive mouse and keyboard interactions for efficient data management. The Blazor Spreadsheet provides multiple selection options to manage and analyze data effectively: -* **Cell Selection** - Select individual cells or ranges of cells for data manipulation -* **Row Selection** - Select entire rows for row-based operations -* **Column Selection** - Select entire columns for column-based operations +* **Cell Selection**: Select individual cells or range of cells for data manipulation +* **Row Selection**: Select entire rows for row-based operations +* **Column Selection**: Select entire columns for column-based operations **Accessing selection via the UI** In the active sheet, selection can be performed using any of the following ways: * **Using Mouse Interaction**: - * Click to select individual cells - * Click and drag to select ranges - * Click row or column headers for full row or column selection + * Click a cell to select it. + * Click and drag to select a range of cells. + * Click a row or column header to select the entire row or column. * **Using Keyboard Navigation**: - * Use **Arrow** keys to navigate and select cells + * Use **Arrow** keys to navigate between cells * Use **Shift + Arrow** keys for range selection * Use **Ctrl + Click** for non-adjacent selections -* **Using Name Box**: Enter cell references or range names and press **Enter** key to select the specified range. +* **Using Name Box**: Enter a cell reference (e.g., `C5`) or a range (`A1:E5`) and press **Enter** key to select the specified range. -## Cell selection +## Cell Selection The Blazor Spreadsheet component allows selecting individual cells or ranges of cells for various data operations. Cell selection forms the foundation of most Spreadsheet interactions and serves as the basis for data entry and formatting. @@ -74,9 +74,9 @@ The column selection operation can be performed using the following methods: * **Non-adjacent columns**: Hold **Ctrl** while clicking individual column headers * **Range with keyboard**: Use **Shift + Arrow** keys after selecting the initial column -## Implementing selection programmatically +## Implementing Selection Programmatically -The Spreadsheet component supports comprehensive programmatic selection using the [SelectRangeAsync()](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_SelectRangeAsync_System_String_) method. This method accepts various range formats and selection patterns. +The Spreadsheet component supports programmatic selection for cells, rows, and columns using the [SelectRangeAsync()](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_SelectRangeAsync_System_String_) method. This method accepts various range formats and selection patterns. {% tabs %} {% highlight razor tabtitle="Index.razor" %} @@ -113,4 +113,4 @@ The Spreadsheet component supports comprehensive programmatic selection using th The following image illustrates the comprehensive selection capabilities available in the Blazor Spreadsheet component, including cell, row, and column selection using both mouse and keyboard interactions. -![Comprehensive selection operation](./images/selection-types.gif) +![An animated GIF demonstrating cell, row, and column selection in the Syncfusion Blazor Spreadsheet.](./images/selection-types.gif) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md index a5bcdd3a0..e55ab444e 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md @@ -1,22 +1,22 @@ --- layout: post title: Sorting in Blazor Spreadsheet Component | Syncfusion -description: Checkout and learn here about sorting functionality in Syncfusion Blazor Spreadsheet component and much more. +description: Learn how to perform data sorting in the Syncfusion Blazor Spreadsheet component and much more. platform: document-processing -component: Spreadsheet +control: Spreadsheet documentation: ug --- -# Sorting in Blazor Spreadsheet component +# Sorting in Blazor Spreadsheet Component -The Blazor Spreadsheet component provides built-in sorting functionality that enables users to organize worksheet data in either ascending or descending order. This support is especially helpful for improving readability and simplifying data analysis by arranging content according to selected columns. The sorting behavior is controlled by the [`AllowSorting`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowSorting) property, which is set to `true` by default. When `AllowSorting` is set to `false`, all sorting options are removed from the interface, including the Ribbon and Context Menu, and related API methods become inactive. Additionally, sorting is disabled if the worksheet is protected. For more information on worksheet protection, refer [here](./protection#protect-sheet). +The Blazor Spreadsheet component provides built-in sorting functionality that enables users to organize worksheet data in either ascending or descending order. This feature helps improve readability and simplifies data analysis by arranging content according to selected columns. The sorting behavior is controlled by the [`AllowSorting`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowSorting) property, which is set to `true` by default. When `AllowSorting` is set to `false`, all sorting options are removed from the interface, including the Ribbon and Context Menu, and related API methods become inactive. Additionally, sorting is disabled if the worksheet is protected. For more information on worksheet protection, refer to the [worksheet protection documentation](./protection#protect-sheet). -## Sort operations +## Sort Operations -The component supports two types of sort orders that help organize data for easier analysis and presentation: +The component supports two types of sort orders that help organize data for analysis and presentation: -* **Ascending** - Arranges data from lowest to highest (A to Z, 0 to 9). -* **Descending** - Arranges data from highest to lowest (Z to A, 9 to 0). +* **Ascending**: Arranges data from lowest to highest (e.g., A to Z, 0 to 9). +* **Descending**: Arranges data from highest to lowest (e.g., Z to A, 9 to 0). ### Sort via UI @@ -27,14 +27,14 @@ Sorting can be performed through the user interface (UI) using any of the follow - Select a cell or range of cells to sort. - Click the **Home** tab in the **Ribbon**. - Click the **Sort & Filter** icon. -- Choose either **Ascending** or **Descending** from the dropdown menu. +- Choose either **Sort Ascending** or **Sort Descending** from the dropdown menu. ![Sort option via Ribbon](./images/ribbon-sort.png) **Using the Context Menu** -- Select a cell or range of cells to sort. -- Right-click on the selected range to open the context menu. +- Select a cell or a range of cells to sort. +- Right-click the selected range to open the context menu. - Hover over the **Sort** option. - Select either **Ascending** or **Descending** from the submenu. @@ -42,20 +42,21 @@ Sorting can be performed through the user interface (UI) using any of the follow **Using the Filter Dialog** -If filtering is enabled, sorting can also be performed using the filter dialog. This adds another layer of flexibility by allowing users to sort data directly through the filtered view. For more details on how filtering works in the Blazor Spreadsheet component, refer [here](./filtering). +If filtering is enabled, sorting can also be performed using the filter dialog. This adds another layer of flexibility by allowing users to sort data directly through the filtered view. For more details on how filtering works in the Blazor Spreadsheet component, refer to the [filtering documentation](./filtering). + -- Apply **Filter** to the desired column. -- Click the filter icon in the column header. +- Apply a **Filter** to the desired column. +- Click the filter icon in a column header. - In the filter dialog, choose either **Sort Ascending** or **Sort Descending**. -- The sort will be applied to the entire used range based on the selected column. +- The sort operation is applied to the entire used range based on the selected column. ![Sort option via Filter Dialog](./images/filter-dialog-sort.gif) ### Sort by active cell -When a sort operation is performed without an explicitly selected range, the component automatically identifies the **used range** of the worksheet. The used range includes all contiguous cells that contain data. Sorting is applied to this range using the column of the **active cell** as the sort key. +When a sort operation is performed without an explicitly selected range, the component automatically identifies the **used range** of the worksheet. The used range includes all contiguous cells that contain data. Sorting is applied to this entire range using the column of the **active cell** as the sort key. -A **sort key** is the column whose values determine the order of the rows during sorting. It compares the values in this column and rearranges the rows accordingly. +The **sort key** is the column whose values determine the order of the rows during sorting. It compares the values in this column and rearranges the rows accordingly. This behavior ensures that the entire dataset is sorted cohesively, preserving row integrity and preventing data misalignment. @@ -63,9 +64,9 @@ This behavior ensures that the entire dataset is sorted cohesively, preserving r If the **active cell** is located in **Column C** and no range is selected, it's sorts all rows within the used range based on the values in **Column C**. -### Sort by selected range +### Sorting a Selected Range -When a specific range is selected before initiating a sort operation, the component restricts the sort to the selected range. The column of the active cell within the selected range is used as the sort key. This method allows targeted sorting of a subset of data without affecting the rest of the worksheet. +When a specific cell range is selected, the sort operation is restricted to that range. The column of the active cell within the selected range is used as the sort key. This method allows for targeted sorting of a subset a data without affecting the rest of the worksheet. **Example** @@ -103,8 +104,8 @@ The [SortRangeAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spr public async Task SortData() { - // Sorts the range B2:D5 in ascending order based on values in "Column B". - await SpreadsheetInstance.SortRangeAsync("B2:D5", SortDirection.Ascending); + // Sorts the range B2:D5 in ascending order based on values in "Column B". + await SpreadsheetInstance.SortRangeAsync("B2:D5", SortDirection.Ascending); } } From a5278eaca48f35dc67a1af22169ec85ea153bdf0 Mon Sep 17 00:00:00 2001 From: Yazhdilipan-SF5086 Date: Thu, 25 Sep 2025 08:58:01 +0530 Subject: [PATCH 2/6] Resolve the changes in protection --- Document-Processing/Excel/Spreadsheet/Blazor/protection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md index 5cb0ccf47..490d6dcf6 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md @@ -17,7 +17,7 @@ The **Protect Sheet** support helps prevent accidental changes such as editing, ### Protecting a sheet via the UI -You can protect the active sheet in one of the following ways: +The active sheet can be protected using any of the following ways: * Navigate to the **Review** tab in the Ribbon and select **Protect Sheet**. * Right-click the sheet's tab in the bottom bar and select **Protect Sheet** from the context menu. @@ -108,4 +108,4 @@ To unprotect the workbook: * Enter the correct password in the dialog box, then click **OK**. -![Unprotected Workbook Dialog](./images/unprotect-workbook.png) \ No newline at end of file +![Unprotected Workbook Dialog](./images/unprotect-workbook.png) From b7c0385bb8239dfd6973cfcc5231cec2aedf2feb Mon Sep 17 00:00:00 2001 From: Yazhdilipan-SF5086 Date: Thu, 25 Sep 2025 12:23:28 +0530 Subject: [PATCH 3/6] Resolved Font matter error --- Document-Processing/Excel/Spreadsheet/Blazor/protection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md index 490d6dcf6..28e1a1780 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/protection.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/protection.md @@ -1,6 +1,6 @@ --- layout: post -title: Protect Sheets and Workbooks in Blazor Spreadsheet Component | Syncfusion +title: Protection in Blazor Spreadsheet Component | Syncfusion description: Learn how to protect and unprotect worksheets and workbooks in the Syncfusion Blazor Spreadsheet component, both through the UI and more. platform: document-processing control: Spreadsheet From d1685b56ba84fbd9c19744ff6f54d964f88a7bda Mon Sep 17 00:00:00 2001 From: Yazhdilipan-SF5086 Date: Thu, 25 Sep 2025 12:25:39 +0530 Subject: [PATCH 4/6] Resolved Font matter in sorting file --- Document-Processing/Excel/Spreadsheet/Blazor/sorting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md index e55ab444e..fac119834 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md @@ -1,7 +1,7 @@ --- layout: post title: Sorting in Blazor Spreadsheet Component | Syncfusion -description: Learn how to perform data sorting in the Syncfusion Blazor Spreadsheet component and much more. +description: Learn how to perform data sorting in the Blazor Spreadsheet component and much more. platform: document-processing control: Spreadsheet documentation: ug From 6290bd5e43bc463d8b0fd4ec3909a928ddffa611 Mon Sep 17 00:00:00 2001 From: Yazhdilipan-SF5086 Date: Thu, 25 Sep 2025 14:41:56 +0530 Subject: [PATCH 5/6] 983001: resolve font matter error --- Document-Processing/Excel/Spreadsheet/Blazor/sorting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md index fac119834..ae0f890bd 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md @@ -1,7 +1,7 @@ --- layout: post title: Sorting in Blazor Spreadsheet Component | Syncfusion -description: Learn how to perform data sorting in the Blazor Spreadsheet component and much more. +description: Learn how to perform data sorting in the Blazor Spreadsheet component, including multi-column sorting,custom sort orders, and more. platform: document-processing control: Spreadsheet documentation: ug From 7a46fe4c71120abc4bd48d88c9bd705d83cf60a0 Mon Sep 17 00:00:00 2001 From: SasthaPrathap <88700192+SasthaPrathap@users.noreply.github.com> Date: Tue, 7 Oct 2025 20:00:45 +0530 Subject: [PATCH 6/6] Update sorting.md --- Document-Processing/Excel/Spreadsheet/Blazor/sorting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md index ae0f890bd..3d53cb94f 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/sorting.md @@ -1,7 +1,7 @@ --- layout: post title: Sorting in Blazor Spreadsheet Component | Syncfusion -description: Learn how to perform data sorting in the Blazor Spreadsheet component, including multi-column sorting,custom sort orders, and more. +description: Learn how to perform data sorting in the Blazor Spreadsheet component, including multi-column sorting, custom sort orders, and more. platform: document-processing control: Spreadsheet documentation: ug