You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Excel/Spreadsheet/Blazor/rows-and-columns.md
+10-20Lines changed: 10 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,10 @@ You can insert rows or columns anywhere in a spreadsheet.
20
20
21
21
### Row
22
22
23
-
The rows can be inserted in the following ways:
23
+
The rows can be inserted in the following ways,
24
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.
25
+
* 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.
26
+
* Using context menu, insert the rows in the desired position.
32
27
33
28
The following code example shows the options for inserting rows in the spreadsheet.
34
29
@@ -74,15 +69,10 @@ The following code example shows the options for inserting rows in the spreadshe
74
69
75
70
### Column
76
71
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**
72
+
The columns can be inserted in the following ways,
84
73
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.
74
+
* 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.
75
+
* Using context menu, insert the columns in the desired position.
86
76
87
77
The following code example shows the options for inserting columns in the spreadsheet.
88
78
@@ -133,16 +123,16 @@ The Blazor Spreadsheet component enables you to define the initial number of row
133
123
* The default `RowCount` is **1000**.
134
124
* The default `ColumnCount` is **200**.
135
125
136
-
**Rendering Behavior**
126
+
### Rendering Behavior
137
127
138
128
-**Without Data Source:**
139
129
140
-
- When no data is bound to the spreadsheet, the sheet renders empty cells up to RowCount × ColCount.
130
+
- When no data is bound to the spreadsheet, the sheet renders empty cells up to the specified row and column counts.
141
131
142
132
-**With Data Source (e.g., byte array or imported file):**
143
133
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.
134
+
- 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.
135
+
- 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.
0 commit comments