Skip to content

Commit 9148b70

Browse files
Merge pull request #1430 from syncfusion-content/983001-DocumentChanges2
983001: Changes in Editing,filtering and formulas
2 parents 3e7240c + 910ee60 commit 9148b70

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

Document-Processing/Excel/Spreadsheet/Blazor/editing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Cell Editing in the Blazor Spreadsheet component | Syncfusion
3+
title: Cell Editing in Blazor Spreadsheet component | Syncfusion
44
description: Checkout and learn here about the cell editing features in the Syncfusion Blazor Spreadsheet component and more.
55
platform: document-processing
66
control: Spreadsheet
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Cell editing in the Blazor Spreadsheet component
1111

12-
Cell editing in the Blazor Spreadsheet component enables modification of cell content either directly within the spreadsheet or through the formula bar. This feature is enabled by default and can be controlled using the [AllowEditing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowEditing) property. To disable or enable cell editing, set the value of this property accordingly.
12+
Cell editing in the Blazor Spreadsheet component enables modification of cell content either directly within the spreadsheet or through the formula bar. This feature is enabled by default but can be disabled by setting the [AllowEditing](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowEditing) property. To disable or enable cell editing, set the value of this property accordingly.
1313

1414
## Edit cell
1515

@@ -20,7 +20,7 @@ Cell editing can be initiated directly through the UI using any of the following
2020
- Use the **formula bar** to modify the cell's contents.
2121
- Press **BACKSPACE** or **SPACE** to clear the cell and begin editing.
2222

23-
> For additional keyboard shortcuts related to cell editing, refer [here](./accessibility#keyboard-shortcuts).
23+
> For additional keyboard shortcuts related to cell editing, refer to the [Keyboard Shortcuts](./accessibility#keyboard-shortcuts) documentation.
2424
2525
## Update cell
2626

@@ -44,7 +44,7 @@ If a cell address is incorrectly formatted, refers to a non-existent sheet, or l
4444
{% highlight razor %}
4545

4646
@using Syncfusion.Blazor.Spreadsheet
47-
47+
@inject HttpClient Http
4848
<button @onclick="UpdateCell">Update Cell</button>
4949

5050
<SfSpreadsheet @ref=SpreadsheetRef DataSource="DataSourceBytes">
@@ -82,12 +82,12 @@ If a cell address is incorrectly formatted, refers to a non-existent sheet, or l
8282

8383
To exit edit mode without saving changes, press the **ESCAPE** key. This action restores the original content of the cell and cancels any modifications made during editing.
8484

85-
![Cancel Editing](./images/cell-editing.gif)
85+
![Animation showing a user canceling a cell edit in the Blazor Spreadsheet component.](./images/cell-editing.gif)
8686

8787
## Cell editing in protected sheet
8888

89-
In a protected sheet, only the unlocked ranges can be edited based on the sheet's protection settings. Attempting to modify a locked range triggers an error message, as shown below:
89+
In a protected sheet, only unlocked ranges can be edited based on the sheet's protection settings. Attempting to modify a locked range triggers an error message, as shown below:
9090

91-
![Protection Error Dialog](./images/protection-error-dialog.png)
91+
![Error dialog indicating that a cell is protected and cannot be modified in the Blazor Spreadsheet.](./images/protection-error-dialog.png)
9292

93-
N> For more information on worksheet protection, refer [here](./protection).
93+
N> For more information on worksheet protection, refer to the [Worksheet Protection](./protection) documentation.

Document-Processing/Excel/Spreadsheet/Blazor/filtering.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ documentation: ug
1111

1212
Filtering in the Blazor Spreadsheet component enables focused data analysis by displaying only the rows that meet specific criteria. This functionality helps create interactive views by hiding rows that do not match the filtering conditions. Filtering behavior is controlled using the [AllowFiltering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_AllowFiltering) property, which is set to **true** by default.
1313

14-
N> When `AllowFiltering` is set to **false**, filtering options are disabled in the ribbon and removed from the context menu. API methods related to filtering will also be inactive. Additionally, if the worksheet is protected, the filtering feature is disabled. For more information on worksheet protection, refer [here](./protection#protect-sheet).
14+
N> When `AllowFiltering` is set to **false**, filtering options are disabled in the ribbon and removed from the context menu. API methods related to filtering will also be inactive. Additionally, if the worksheet is protected, the filtering feature is disabled. For more information, refer to the [Worksheet Protection](./protection#protect-sheet) documentation.
1515

1616
Filtering can be accessed through the user interface using the following method:
1717

@@ -31,7 +31,7 @@ The filter dialog appears when clicking on a column's filter icon and provides t
3131

3232
* **Sort options** - Provides commands for sorting data in **Ascending** or **Descending** order.
3333
* **Clear filter** - Removes any filtering applied to the selected column.
34-
* **Data type-specific filters** - Displays sub menus tailored to the column's content type, such as **Text Filters**, **Number Filters**, or **Date Filters**.
34+
* **Data type-specific filters** - Displays submenu tailored to the column's content type, such as **Text Filters**, **Number Filters**, or **Date Filters**.
3535
* **Search box** - Enables quick lookup of values within the filter list.
3636
* **Select All** checkbox - Toggles the selection of all available values in the column.
3737
* **Value** checkboxes - Lists individual checkboxes for each unique value found in the column.
@@ -66,13 +66,13 @@ Number filters provide specialized filtering options for columns containing nume
6666

6767
| Operator | Description |
6868
| -- | -- |
69-
| Equal | Displays rows where the cell value exactly match the specified number. |
69+
| Equal | Displays rows where the cell value exactly matches the specified number. |
7070
| Not Equal | Displays rows where the cell value does not match the specified number. |
7171
| Less Than | Displays rows where the cell value is less than the specified number. |
7272
| Less Than Or Equal | Displays rows where the cell value is less than or equal to the specified number. |
7373
| Greater Than | Displays rows where the cell value is greater than the specified number. |
74-
| Greater Than Or Equal | Displays rows where the cell value falls within a specified numeric range. |
75-
| Between | Displays rows with cell values that include the specified text. |
74+
| Greater Than Or Equal | Displays rows where the cell value is greater than or equal to the specified number. |
75+
| Between | Displays rows where the cell value falls within a specified numeric range. |
7676
| Custom Filter | Opens a dialog for defining advanced numeric filter conditions. This dialog allows the combination of multiple criteria using logical operators such as **AND** and **OR**. Each condition can be configured using numeric comparison operators and custom values, enabling flexible and targeted filtering of numerical data. |
7777

7878
![Number filter](./images/number-filter.png)
@@ -83,10 +83,10 @@ The date filters provide specialized filtering options for columns containing da
8383

8484
| Operator | Description |
8585
| -- | -- |
86-
| Equal | Displays rows where the cell value exactly match the specified value. |
87-
| Not Equal | Displays rows where the cell value does not match the specified value. |
88-
| Less Than | Displays rows where the date is earlier than the specified value. |
89-
| Greater Than | Displays rows where the date is later than the specified value. |
86+
| Equal | Displays rows where the cell value exactly matches the specified date. |
87+
| Not Equal | Displays rows where the cell value does not match the specified date. |
88+
| Less Than | Displays rows where the date is earlier than the specified date. |
89+
| Greater Than | Displays rows where the date is later than the specified date. |
9090
| Between | Displays rows where the date falls within a defined date range. |
9191
| This Month | Filters rows where the date falls within the current calendar month. |
9292
| Last Month | Filters rows where the date falls within the previous calendar month. |
@@ -353,11 +353,11 @@ The [ClearAllFiltersAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blaz
353353

354354
## Reapply filter
355355

356-
The reapply filter updates filtered results after changes are made to the data. It preserves the existing filter conditions and refreshes the view to reflect the most current data accurately.
356+
Reapplying filters updates the filtered results after changes are made to the data. It preserves the existing filter conditions and refreshes the view to reflect the most current data accurately.
357357

358358
For instance, if a filter is applied to display only rows where the **Status** column is set to **Approved**, and a new row is added with **Approved** as its value, the new row will not immediately appear. Using **Reapply Filter** recalculates the filter and ensures the new row is included in the filtered results.
359359

360-
### Reapply filter via UI
360+
### Reapply filters via UI
361361

362362
Filters can be reapplied using the interface through the following methods:
363363

@@ -378,9 +378,9 @@ Filters can be reapplied using the interface through the following methods:
378378

379379
![Reapply filter using Context Menu](./images/clearfilter-option-contextmenu.png)
380380

381-
### Reapply filter programmatically
381+
### Reapply filters programmatically
382382

383-
The [ReapplyFilterAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_ReapplyFiltersAsync) method refreshes all active filters to match updated worksheet data. This method is especially beneficial when rows are modified, inserted, or imported.
383+
The [ReapplyFiltersAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_ReapplyFiltersAsync) method refreshes all active filters to match updated worksheet data. This method is especially beneficial when rows are modified, inserted, or imported.
384384

385385
{% tabs %}
386386
{% highlight razor tabtitle="Index.razor" %}
@@ -426,4 +426,4 @@ When applying filters in the Blazor Spreadsheet, validation messages are display
426426

427427
- **Multiple selection range validation** - If multiple ranges are selected for filtering, the selection is considered invalid. A **Multiple selection range** alert message is shown to highlight this limitation.
428428

429-
![Multiple ranges validation message](./images/multi-range-validation.png)
429+
![Multiple ranges validation message](./images/multi-range-validation.png)

Document-Processing/Excel/Spreadsheet/Blazor/formulas.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ control: Spreadsheet
77
documentation: ug
88
---
99

10-
# Formulas in Blazor Spreadsheet component
10+
# Formulas in Blazor Spreadsheet Component
1111

1212
**Formulas** enable calculations within a worksheet by referencing cells from either the same worksheet or other worksheets in the workbook.
1313

@@ -19,25 +19,25 @@ The **Formula Bar** simplifies editing or entering cell data. The [ShowFormulaBa
1919

2020
Formulas in the Syncfusion Blazor Spreadsheet can be accessed and inserted using the following methods:
2121

22-
* Select **Insert Function** from the **Formulas** tab in the Ribbon toolbar. In the **Insert Function** dialog, choose a category, then select the desired function to insert it into the selected cell.
22+
* Select **Insert Function** from the **Formulas** tab in the Ribbon toolbar. In the **Insert Function** dialog, choose a category, then select the desired function to insert it into the selected cell.
2323

24-
![Insert Function Dialog](./images/insert-formula.gif)
24+
![Insert Function Dialog](./images/insert-formula.gif)
2525

26-
* Type **(=)** in a cell or the **Formula Bar** to display a list of available functions. Select a function from the list to insert it into the cell.
26+
* Type **(=)** in a cell or the **Formula Bar** to display a list of available functions. Select a function from the list to insert it into the cell.
2727

28-
![Formulas Intellisense](./images/formula-cell.gif)
28+
![Formulas Intellisense](./images/formula-cell.gif)
2929

30-
* Click the **Insert Function** button next to the **Formula Bar** to open the **Insert Function** dialog, which provides the same categorized function list and insertion options as the Ribbon toolbar.
30+
* Click the **Insert Function** button next to the **Formula Bar** to open the **Insert Function** dialog, which provides the same categorized function list and insertion options as the Ribbon toolbar.
3131

32-
![Insert Function Button](./images/insert-function.gif)
32+
![Insert Function Button](./images/insert-function.gif)
3333

3434
## Calculation Mode
3535

3636
The Spreadsheet includes **Calculation Option** functionality, similar to Excel's calculation settings, which controls when and how formulas are recalculated. The available modes are:
3737

38-
* **Automatic**: Formulas recalculate instantly when any dependent cell changes.
38+
* **Automatic**: Formulas recalculate instantly when any dependent cell changes.
3939

40-
* **Manual**: Formulas recalculate only when explicitly triggered using the **Calculate Sheet** or **Calculate Workbook** options.
40+
* **Manual**: Formulas recalculate only when explicitly triggered using the **Calculate Sheet** or **Calculate Workbook** options.
4141

4242
### Automatic
4343

@@ -61,43 +61,43 @@ If cell **C1** contains the formula **=A1 + B1**, and the value in **A1** or **B
6161

6262
## Named Ranges
6363

64-
The **Named Ranges** support allows to assign a meaningful name to a specific cell or range of cells. This simplifies referencing and managing data within the Spreadsheet. Named Ranges can also be used in formulas, making them easier to read, understand, and maintain.
64+
The **Named Ranges** support allows you to assign a meaningful name to a specific cell or range of cells. This simplifies referencing and managing data within the Spreadsheet. Named Ranges can also be used in formulas, making them easier to read, understand, and maintain.
6565

6666
N> Named Ranges can be defined only for cells or ranges that contain values.
6767

6868
### Creating Named Ranges via the UI
6969

7070
**Named Ranges** can be created using the following methods:
7171

72-
* Select the desired range of cells and enter a name in the **Name Box**.
72+
* Select the desired range of cells and enter a name in the **Name Box**.
7373

74-
* Select the range of cells, then click the **Name Manager** button in the Ribbon toolbar under the **Formulas** tab.
74+
* Select the range of cells, then click the **Name Manager** button in the Ribbon toolbar under the **Formulas** tab.
7575

76-
![Name Manager Dialog](./images/named-range.gif)
76+
![Name Manager Dialog](./images/named-range.gif)
7777

7878
### Editing or Deleting Named Ranges
7979

8080
**Named Ranges** are managed through the **Name Manager** dialog, which supports editing and deletion.
8181

8282
To edit a Named Range:
8383

84-
* Open the **Name Manager** dialog.
84+
* Open the **Name Manager** dialog.
8585

86-
* Select the Named Range to be edited.
86+
* Select the Named Range to be edited.
8787

88-
* Click the **Edit** icon.
88+
* Click the **Edit** icon.
8989

90-
* Modify the name, range, or scope as needed.
90+
* Modify the name, range, or scope as needed.
9191

9292
* Click the **Update Range** button, then click **OK** button to save changes.
9393

9494
To delete a Named Range:
9595

96-
* Open the **Name Manager** dialog.
96+
1. Open the **Name Manager** dialog.
9797

98-
* Select the Named Range to be deleted.
98+
2. Select the Named Range to be deleted.
9999

100-
* Click the **Delete** icon, then click **OK** button to confirm.
100+
3. Click the **Delete** icon, then click the **OK** button to confirm.
101101

102102
N> Deleting a Named Range used in formulas may cause formula errors. Ensure the Named Range is not referenced before deleting it.
103103

0 commit comments

Comments
 (0)