Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4797,7 +4797,7 @@
<li><a href="/document-processing/excel/spreadsheet/blazor/editing">Editing</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/formulas">Formulas</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/contextmenu">Context Menu</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/rows-and-columns">Row and Columns</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/rows-and-columns">Rows and Columns</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/filtering">Filtering</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/sorting">Sorting</a></li>
<li><a href="/document-processing/excel/spreadsheet/blazor/hyperlink">Hyperlink</a></li>
Expand Down
30 changes: 10 additions & 20 deletions Document-Processing/Excel/Spreadsheet/Blazor/rows-and-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@ You can insert rows or columns anywhere in a spreadsheet.

### Row

The rows can be inserted in the following ways:
The rows can be inserted in the following ways,

**Using the context menu**

Insert rows in the desired position by right-clicking on a row header.

**Using `InsertRowAsync` method**

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.
* 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.
* Using context menu, insert the rows in the desired position.

The following code example shows the options for inserting rows in the spreadsheet.

Expand Down Expand Up @@ -74,15 +69,10 @@ The following code example shows the options for inserting rows in the spreadshe

### Column

The columns can be inserted in the following ways:

**Using the context menu**

Insert columns in the desired position by right-clicking on a column header.

**Using `InsertColumnAsync` method**
The columns can be inserted in the following ways,

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.
* 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.
* Using context menu, insert the columns in the desired position.

The following code example shows the options for inserting columns in the spreadsheet.

Expand Down Expand Up @@ -133,16 +123,16 @@ The Blazor Spreadsheet component enables you to define the initial number of row
* The default `RowCount` is **1000**.
* The default `ColumnCount` is **200**.

**Rendering Behavior**
### Rendering Behavior

- **Without Data Source:**

- When no data is bound to the spreadsheet, the sheet renders empty cells up to RowCount × ColCount.
- When no data is bound to the spreadsheet, the sheet renders empty cells up to the specified row and column counts.

- **With Data Source (e.g., byte array or imported file):**

- If the data source has fewer rows/columns than RowCount/ColCount, the spreadsheet renders additional empty rows/columns to meet the specified counts.
- 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.
- If the data source contains fewer rows and columns than the specified row and column counts, the spreadsheet renders additional empty rows and columns to meet those counts.
- If the data source contains more rows and columns than the specified row and column counts, the spreadsheet renders enough rows and columns to display all the data (i.e., it extends beyond those counts to fit the data). Your data is never truncated by these properties.


You can set these properties as follows:
Expand Down