Skip to content

Commit 0853fc6

Browse files
Merge branch 'development' into ES-987016-DocumentCorrection
2 parents 7895fb0 + 6b6c383 commit 0853fc6

File tree

295 files changed

+22201
-6885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+22201
-6885
lines changed

Document-Processing-toc.html

Lines changed: 96 additions & 14 deletions
Large diffs are not rendered by default.

Document-Processing/Excel/Spreadsheet/Blazor/cell-range.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ Cell formatting options include:
4242
* **Middle** – Centers content vertically
4343
* **Bottom** – Default alignment
4444

45-
* **Wrap Text** - Displays long content on multiple lines within a single cell, preventing it from overflowing into adjacent cells.
45+
* **Wrap Text** - Displays long content on multiple lines within a single cell, preventing it from overflowing into adjacent cells. To enable text wrapping:
46+
1. Select the target cell or range (e.g., C5).
47+
2. Go to the Home tab.
48+
3. Click Wrap Text in the ribbon to toggle text wrapping for the selected cells.
4649

4750
Cell formatting can be applied or removed from a cell or range by using the options available in the component's built-in **Ribbon** under the **Home** tab.
4851

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
---
2+
layout: post
3+
title: Rows and columns in Blazor Spreadsheet component | Syncfusion
4+
description: Checkout and learn here all about Rows and columns in the Syncfusion Blazor Spreadsheet component and more.
5+
platform: document-processing
6+
control: Spreadsheet
7+
documentation: ug
8+
---
9+
10+
# Rows and columns in Blazor Spreadsheet component
11+
12+
Spreadsheet is a tabular format consisting of rows and columns. The intersection point of rows and columns are called as cells. The list of operations that you can perform in rows and columns are,
13+
14+
* Insert
15+
* Setting Column and Row Count
16+
17+
## Insert
18+
19+
You can insert rows or columns anywhere in a spreadsheet.
20+
21+
### Row
22+
23+
The rows can be inserted in the following ways:
24+
25+
**Using the context menu**
26+
27+
Insert rows in the desired position by right-clicking on a row header.
28+
29+
**Using `InsertRowAsync` method**
30+
31+
Using [`InsertRowAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_InsertRowAsync_System_Int32_System_Int32_System_Object_Syncfusion_Blazor_Spreadsheet_RowPosition_) method, you can insert the rows once the component is loaded.
32+
33+
The following code example shows the options for inserting rows in the spreadsheet.
34+
35+
{% tabs %}
36+
{% highlight razor tabtitle="Index.razor" %}
37+
38+
@using Syncfusion.Blazor.Spreadsheet
39+
@using Syncfusion.Blazor.Buttons
40+
41+
<SfButton OnClick="InsertRowsHandler" Content="Insert Rows"></SfButton>
42+
<SfSpreadsheet @ref="@SpreadsheetInstance" DataSource="DataSourceBytes">
43+
<SpreadsheetRibbon></SpreadsheetRibbon>
44+
</SfSpreadsheet>
45+
46+
@code {
47+
public byte[] DataSourceBytes { get; set; }
48+
public SfSpreadsheet SpreadsheetInstance;
49+
50+
protected override void OnInitialized()
51+
{
52+
string filePath = "wwwroot/Sample.xlsx";
53+
DataSourceBytes = File.ReadAllBytes(filePath);
54+
}
55+
56+
public async Task InsertRowsHandler()
57+
{
58+
// Insert 2 rows above row index 0 in the active sheet
59+
await SpreadsheetInstance.InsertRowAsync(0, 2);
60+
61+
// Insert 3 rows below row index 2 in the sheet named "Sheet2"
62+
await SpreadsheetInstance.InsertRowAsync(2, 3, "Sheet2", RowPosition.Below);
63+
64+
// Insert 1 row above row index 1 in the active sheet
65+
await SpreadsheetInstance.InsertRowAsync(1, 1, null, RowPosition.Above);
66+
67+
// Insert 4 rows below row index 3 in the sheet at index 3
68+
await SpreadsheetInstance.InsertRowAsync(3, 4, 3, RowPosition.Below);
69+
}
70+
}
71+
72+
{% endhighlight %}
73+
{% endtabs %}
74+
75+
### Column
76+
77+
The columns can be inserted in the following ways:
78+
79+
**Using the context menu**
80+
81+
Insert columns in the desired position by right-clicking on a column header.
82+
83+
**Using `InsertColumnAsync` method**
84+
85+
Using [`InsertColumnAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_InsertColumnAsync_System_Int32_System_Int32_System_Object_Syncfusion_Blazor_Spreadsheet_ColumnPosition_) method, you can insert the columns once the component is loaded.
86+
87+
The following code example shows the options for inserting columns in the spreadsheet.
88+
89+
{% tabs %}
90+
{% highlight razor tabtitle="Index.razor" %}
91+
92+
@using Syncfusion.Blazor.Spreadsheet
93+
@using Syncfusion.Blazor.Buttons
94+
95+
<SfButton OnClick="InsertColumnsHandler" Content="Insert Columns"></SfButton>
96+
<SfSpreadsheet @ref="@SpreadsheetInstance" DataSource="DataSourceBytes">
97+
<SpreadsheetRibbon></SpreadsheetRibbon>
98+
</SfSpreadsheet>
99+
100+
@code {
101+
public byte[] DataSourceBytes { get; set; }
102+
public SfSpreadsheet SpreadsheetInstance;
103+
104+
protected override void OnInitialized()
105+
{
106+
string filePath = "wwwroot/Sample.xlsx";
107+
DataSourceBytes = File.ReadAllBytes(filePath);
108+
}
109+
110+
public async Task InsertColumnsHandler()
111+
{
112+
// Insert 2 columns to the right of column index 2
113+
await SpreadsheetInstance.InsertColumnAsync(2, 2);
114+
115+
// Insert 3 columns to the left of column index 5
116+
await SpreadsheetInstance.InsertColumnAsync(5, 3, null, ColumnPosition.Left);
117+
118+
// Insert 1 column to the right of column B in Sheet2
119+
await SpreadsheetInstance.InsertColumnAsync(1, 1, "Sheet2", ColumnPosition.Right);
120+
121+
// Insert 4 columns to the left of column D in the sheet at index 3
122+
await SpreadsheetInstance.InsertColumnAsync(3, 4, 3, ColumnPosition.Left);
123+
}
124+
}
125+
126+
{% endhighlight %}
127+
{% endtabs %}
128+
129+
## Setting Row and Column Count
130+
131+
The Blazor Spreadsheet component enables you to define the initial number of rows and columns using the [`RowCount`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_RowCount) and [`ColumnCount`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_ColumnCount) properties.
132+
133+
* The default `RowCount` is **1000**.
134+
* The default `ColumnCount` is **200**.
135+
136+
**Rendering Behavior**
137+
138+
- **Without Data Source:**
139+
140+
- When no data is bound to the spreadsheet, the sheet renders empty cells up to RowCount × ColCount.
141+
142+
- **With Data Source (e.g., byte array or imported file):**
143+
144+
- If the data source has fewer rows/columns than RowCount/ColCount, the spreadsheet renders additional empty rows/columns to meet the specified counts.
145+
- If the data source has more rows/columns than RowCount/ColCount, the spreadsheet renders enough rows/columns to display all data from the source (i.e., it extends beyond the specified counts to fit the data). Your data is never truncated by these properties.
146+
147+
148+
You can set these properties as follows:
149+
150+
{% tabs %}
151+
{% highlight razor tabtitle="Index.razor" %}
152+
153+
@using Syncfusion.Blazor.Spreadsheet
154+
155+
<SfSpreadsheet DataSource="DataSourceBytes" RowCount="1200" ColumnCount="300" >
156+
<SpreadsheetRibbon></SpreadsheetRibbon>
157+
</SfSpreadsheet>
158+
159+
@code {
160+
public byte[] DataSourceBytes { get; set; }
161+
162+
protected override void OnInitialized()
163+
{
164+
string filePath = "wwwroot/Sample.xlsx";
165+
DataSourceBytes = File.ReadAllBytes(filePath);
166+
}
167+
}
168+
169+
{% endhighlight %}
170+
{% endtabs %}

Document-Processing/PDF/PDF-Viewer/angular/form-designer/form-field-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ documentation: ug
88
domainurl: ##DomainURL##
99
---
1010

11-
# PDF Viewer Form Field events
11+
# PDF Viewer Form Field events in Angular
1212

1313
The PDF Viewer control provides the support to different Form Field events. The Form Field events supported by the PDF Viewer Control are:
1414

Document-Processing/PDF/PDF-Viewer/asp-net-core/form-designer/form-field-events.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ layout: post
33
title: Form field events in ASP.NET Core PDF Viewer | Syncfusion
44
description: Learn about form field events supported in the Syncfusion ASP.NET Core PDF Viewer component and how to handle them.
55
platform: document-processing
6-
control: PDF Viewer
6+
control: Form Field Events
77
documentation: ug
88
---
99

10-
# Form field events in ASP.NET Core PDF Viewer
10+
# PDF Viewer Form Field events in ASP.NET CORE
1111

1212
The PDF Viewer component provides support for various form field events. The following events are available:
1313

@@ -113,7 +113,7 @@ The [formFieldClick](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej
113113

114114
## formFieldDoubleClick event
115115

116-
The [formFieldDoubleClick](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldDoubleClick) event is triggered when a form field is double-clicked. The event arguments provide details about the double-clicked form field.
116+
The [formFieldDoubleClick](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldDoubleClick) event is triggered when a form field is double-clicked. The event arguments provide the necessary information about the form field double-click event.
117117

118118
{% tabs %}
119119
{% highlight cshtml tabtitle="Standalone" %}
@@ -155,7 +155,7 @@ The [formFieldDoubleClick](https://help.syncfusion.com/cr/aspnetcore-js2/syncfus
155155

156156
## formFieldFocusOut event
157157

158-
The [formFieldFocusOut](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldFocusOut) event is triggered when a form field loses focus. The event arguments provide details about the field that lost focus.
158+
The [formFieldFocusOut](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldFocusOut) event is triggered when a form field loses focus. The event arguments provide the necessary information about the form field focus out event.
159159

160160
{% tabs %}
161161
{% highlight cshtml tabtitle="Standalone" %}
@@ -197,7 +197,7 @@ The [formFieldFocusOut](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion
197197

198198
## formFieldMouseLeave event
199199

200-
The [formFieldMouseLeave](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMouseLeave) event is triggered when the mouse leaves a form field. The event arguments provide details about the mouse leave action.
200+
The [formFieldMouseLeave](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMouseLeave) event is triggered when the mouse leaves a form field. The event arguments provide the necessary information about the form field mouse leave event.
201201

202202
{% tabs %}
203203
{% highlight cshtml tabtitle="Standalone" %}
@@ -239,7 +239,7 @@ The [formFieldMouseLeave](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusi
239239

240240
## formFieldMouseOver event
241241

242-
The [formFieldMouseOver](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMouseover) event is triggered when the mouse hovers over a form field. The event arguments provide details about the mouse over action.
242+
The [formFieldMouseOver](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMouseover) event is triggered when the mouse hovers over a form field. The event arguments provide the necessary information about the form field mouse over event.
243243

244244
{% tabs %}
245245
{% highlight cshtml tabtitle="Standalone" %}
@@ -285,7 +285,7 @@ The [formFieldMouseOver](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusio
285285

286286
## formFieldMove event
287287

288-
The [formFieldMove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMove) event is triggered when a form field is moved. The event arguments provide details about the movement.
288+
The [formFieldMove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldMove) event is triggered when the mouse moves inside a form field. The event arguments provide the necessary information about the form field mouse move event.
289289

290290
{% tabs %}
291291
{% highlight cshtml tabtitle="Standalone" %}
@@ -331,7 +331,7 @@ The [formFieldMove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2
331331

332332
## formFieldPropertiesChange event
333333

334-
The [formFieldPropertiesChange](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldPropertiesChange) event is triggered when form field properties change. The event arguments indicate which property changed.
334+
The [formFieldPropertiesChange](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldPropertiesChange) event is triggered when the properties of a form field are changed. The event arguments provide the necessary information about which property of the form field has been changed.
335335

336336
{% tabs %}
337337
{% highlight cshtml tabtitle="Standalone" %}
@@ -392,7 +392,7 @@ The [formFieldPropertiesChange](https://help.syncfusion.com/cr/aspnetcore-js2/sy
392392

393393
## formFieldRemove event
394394

395-
The [formFieldRemove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldRemove) event is triggered when a form field is removed from the PDF. The event arguments provide details about the removed field.
395+
The [formFieldRemove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldRemove) event is triggered when a form field is removed from the PDF. The event arguments provide the necessary information about which form field has been removed.
396396

397397
{% tabs %}
398398
{% highlight cshtml tabtitle="Standalone" %}
@@ -434,7 +434,7 @@ The [formFieldRemove](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.e
434434

435435
## formFieldResize event
436436

437-
The [formFieldResize](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldResize) event is triggered when a form field is resized. The event arguments include current and previous positions.
437+
The [formFieldResize](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldResize) events are triggered when a form field in a PDF is resized. These events provide the relevant details about the specific form field that has been resized.
438438

439439
{% tabs %}
440440
{% highlight cshtml tabtitle="Standalone" %}
@@ -480,7 +480,7 @@ The [formFieldResize](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.e
480480

481481
## formFieldSelect event
482482

483-
The [formFieldSelect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldSelect) event is triggered when a form field is selected. The event arguments provide details about the selected field.
483+
The [formFieldSelect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldSelect) events are triggered when a form field in a PDF is selected. These events provide the necessary details about the specific form field that has been selected.
484484

485485
{% tabs %}
486486
{% highlight cshtml tabtitle="Standalone" %}
@@ -522,7 +522,7 @@ The [formFieldSelect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.e
522522

523523
## formFieldUnselect event
524524

525-
The [formFieldUnselect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldUnselect) event is triggered when a form field is unselected. The event arguments provide details about the unselected field.
525+
The [formFieldUnselect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_FormFieldUnselect) events are triggered when a form field in a PDF is unselected. These events provide the necessary details about the specific form field that has been unselected.
526526

527527
{% tabs %}
528528
{% highlight cshtml tabtitle="Standalone" %}
@@ -564,7 +564,7 @@ The [formFieldUnselect](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion
564564

565565
## validateFormFields event
566566

567-
The [validateFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_ValidateFormFields) event is triggered when required form fields are left unfilled before downloading or printing the PDF. The event arguments include details about the incomplete fields.
567+
The [ValidateFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.pdfviewer.pdfviewer.html#Syncfusion_EJ2_PdfViewer_PdfViewer_ValidateFormFields) events are triggered when a required form field is left unfilled before downloading the PDF. These events provide the necessary information for validating which form fields are incomplete.
568568

569569
{% tabs %}
570570
{% highlight cshtml tabtitle="Standalone" %}

Document-Processing/PDF/PDF-Viewer/asp-net-core/how-to/add-save-button.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Add Save Button to Toolbar in ASP.NET Core PDF Viewer | Syncfusion
4-
description: Learn how to add, show, hide, enable, and disable a custom Save button in the built-in toolbar of the Syncfusion ASP.NET Core PDF Viewer component.
3+
title: Add Save Button in Toolbar ASP.NET Core | Syncfusion
4+
description: Learn here all about adding save button in built-in Toolbar in Syncfusion ASP.NET Core Pdfviewer component of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: PDF Viewer
77
documentation: ug
88
---
99

10-
# Add a Save button to the built-in toolbar
10+
# Add Save Button in Built-In toolbar in ASP.NET Core
1111

1212
PDF Viewer supports customizing toolbar items, including adding, showing, hiding, enabling, and disabling items.
1313

0 commit comments

Comments
 (0)