Skip to content

Commit ac971c1

Browse files
Merge branch 'development' into ES-987332-UpdateUG
2 parents dffe621 + 6b6c383 commit ac971c1

File tree

295 files changed

+22189
-6874
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

+22189
-6874
lines changed

Document-Processing-toc.html

Lines changed: 87 additions & 5 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: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ title: Form Field Events in EJ2 ASP.NET CORE PDF Viewer | Syncfusion
44
description: Learn here all about form field event in ASP.NET CORE PDF Viewer component of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: Form Field Events
7-
publishingplatform: ASP.NET Core
87
documentation: ug
98
---
109

11-
# PDF Viewer Form Field events
10+
# PDF Viewer Form Field events in ASP.NET CORE
1211

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

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

115114
## formFieldDoubleClick event
116115

117-
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.
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.
118117

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

157156
## formFieldFocusOut event
158157

159-
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.
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.
160159

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

199198
## formFieldMouseLeave event
200199

201-
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.
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.
202201

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

241240
## formFieldMouseOver event
242241

243-
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.
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.
244243

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

287286
## formFieldMove event
288287

289-
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.
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.
290289

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

333332
## formFieldPropertiesChange event
334333

335-
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.
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.
336335

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

394393
## formFieldRemove event
395394

396-
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.
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.
397396

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

436435
## formFieldResize event
437436

438-
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.
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.
439438

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

482481
## formFieldSelect event
483482

484-
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.
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.
485484

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

524523
## formFieldUnselect event
525524

526-
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.
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.
527526

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

566565
## validateFormFields event
567566

568-
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.
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.
569568

570569
{% tabs %}
571570
{% highlight cshtml tabtitle="Standalone" %}

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
layout: post
3-
title: Add Save Button in Built-In Toolbar | Syncfusion
3+
title: Add Save Button in Toolbar ASP.NET Core | Syncfusion
44
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
7-
publishingplatform: ASP.NET Core
87
documentation: ug
98
---
109

11-
# Add Save Button in Built-In toolbar
10+
# Add Save Button in Built-In toolbar in ASP.NET Core
1211

1312
PDF Viewer allows you to customize(add, show, hide, enable, and disable) existing items in a toolbar.
1413

0 commit comments

Comments
 (0)