Skip to content

Commit 67aed18

Browse files
author
bhuvaneshdhakshinmaoorthy
committed
993171: Modified the getting started of Spreadsheet
1 parent 2839546 commit 67aed18

131 files changed

Lines changed: 222 additions & 194 deletions

File tree

Some content is hidden

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Wrap text can be applied or removed to a cell or range of cells in the following
2424
The following code example shows the wrap text functionality in spreadsheet.
2525

2626
{% tabs %}
27-
{% highlight ts tabtitle="app.component.ts" %}
27+
{% highlight ts tabtitle="app.ts" %}
2828
{% include code-snippet/spreadsheet/angular/wrap-text-cs1/src/app.component.ts %}
2929
{% endhighlight %}
3030

@@ -64,7 +64,7 @@ The available merge options in spreadsheet are,
6464
The following code example shows the merge cells operation in spreadsheet.
6565

6666
{% tabs %}
67-
{% highlight ts tabtitle="app.component.ts" %}
67+
{% highlight ts tabtitle="app.ts" %}
6868
{% include code-snippet/spreadsheet/angular/merge-cells-cs1/src/app.component.ts %}
6969
{% endhighlight %}
7070

@@ -125,7 +125,7 @@ You can clear the highlighted invalid data by using the following ways,
125125
* Use the [`removeInvalidHighlight()`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#removeinvalidhighlight) method programmatically.
126126

127127
{% tabs %}
128-
{% highlight ts tabtitle="app.component.ts" %}
128+
{% highlight ts tabtitle="app.ts" %}
129129
{% include code-snippet/spreadsheet/angular/data-validation-cs1/src/app.component.ts %}
130130
{% endhighlight %}
131131

@@ -154,7 +154,7 @@ You can apply custom data validation using two methods.
154154
The following code example demonstrates how to add custom data validation with a formula in a Spreadsheet.
155155

156156
{% tabs %}
157-
{% highlight ts tabtitle="app.component.ts" %}
157+
{% highlight ts tabtitle="app.ts" %}
158158
{% include code-snippet/spreadsheet/angular/data-validation-cs2/src/app.component.ts %}
159159
{% endhighlight %}
160160

@@ -238,7 +238,7 @@ You can do this by one of the following ways,
238238
In the following sample, you can enable/disable the fill option on the button click event by using the `showFillOptions` property in `autoFillSettings`.
239239

240240
{% tabs %}
241-
{% highlight ts tabtitle="app.component.ts" %}
241+
{% highlight ts tabtitle="app.ts" %}
242242
{% include code-snippet/spreadsheet/angular/autofill-cs1/src/app.component.ts %}
243243
{% endhighlight %}
244244

@@ -281,7 +281,7 @@ Clear has the following types in the spreadsheet,
281281
Clear the cell contents and formats in the Spreadsheet document by using the [clear](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#clear) method. The [clear](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#clear) method has `type` and `range` as parameters. The following code example shows how to clear the cell contents and formats in the button click event.
282282

283283
{% tabs %}
284-
{% highlight ts tabtitle="app.component.ts" %}
284+
{% highlight ts tabtitle="app.ts" %}
285285
{% include code-snippet/spreadsheet/angular/clear-cs1/src/app.component.ts %}
286286
{% endhighlight %}
287287

Document-Processing/Excel/Spreadsheet/Angular/clipboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Paste can be done in one of the following ways.
6060
> If you use the Keyboard shortcut key for cut (`Ctrl + X`) | copy (`Ctrl + C`) from other sources, you should use `Ctrl + V` shortcut while pasting into the spreadsheet.
6161
6262
{% tabs %}
63-
{% highlight ts tabtitle="app.component.ts" %}
63+
{% highlight ts tabtitle="app.ts" %}
6464
{% include code-snippet/spreadsheet/angular/clipboard-cs1/src/app.component.ts %}
6565
{% endhighlight %}
6666

@@ -76,7 +76,7 @@ Paste can be done in one of the following ways.
7676
The following example shows, how to prevent the paste action in spreadsheet. In [`actionBegin`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#actionbegin) event, you can set `cancel` argument as false in paste request type.
7777

7878
{% tabs %}
79-
{% highlight ts tabtitle="app.component.ts" %}
79+
{% highlight ts tabtitle="app.ts" %}
8080
{% include code-snippet/spreadsheet/angular/clipboard-cs2/src/app.component.ts %}
8181
{% endhighlight %}
8282

Document-Processing/Excel/Spreadsheet/Angular/comment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ You can bind **comment thread** to cells at initial load by providing a `comment
174174
In the below sample, comments are added to a specific cell using cell data binding. The "Comments" review pane is shown initially by enabling the `showCommentsPane` property, and comments are added using `updateCell` method in the `created` event.
175175

176176
{% tabs %}
177-
{% highlight ts tabtitle="app.component.ts" %}
177+
{% highlight ts tabtitle="app.ts" %}
178178
{% include code-snippet/spreadsheet/angular/comment-cs1/src/app.component.ts %}
179179
{% endhighlight %}
180180

Document-Processing/Excel/Spreadsheet/Angular/context-menu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You can add the custom items in context menu using the [`addContextMenuItems`](h
6969
In this demo, Custom Item is added after the Paste item in the context menu.
7070

7171
{% tabs %}
72-
{% highlight ts tabtitle="app.component.ts" %}
72+
{% highlight ts tabtitle="app.ts" %}
7373
{% include code-snippet/spreadsheet/angular/contextmenu/addContextMenu-cs1/src/app.component.ts %}
7474
{% endhighlight %}
7575

@@ -87,7 +87,7 @@ You can remove the items in context menu using the [`removeContextMenuItems`](ht
8787
In this demo, Insert Column item has been removed from the row/column header context menu.
8888

8989
{% tabs %}
90-
{% highlight ts tabtitle="app.component.ts" %}
90+
{% highlight ts tabtitle="app.ts" %}
9191
{% include code-snippet/spreadsheet/angular/contextmenu/addContextMenu-cs2/src/app.component.ts %}
9292
{% endhighlight %}
9393

@@ -105,7 +105,7 @@ You can enable/disable the items in context menu using the [`enableContextMenuIt
105105
In this demo, Rename item is disabled in the pager context menu.
106106

107107
{% tabs %}
108-
{% highlight ts tabtitle="app.component.ts" %}
108+
{% highlight ts tabtitle="app.ts" %}
109109
{% include code-snippet/spreadsheet/angular/contextmenu/addContextMenu-cs3/src/app.component.ts %}
110110
{% endhighlight %}
111111

Document-Processing/Excel/Spreadsheet/Angular/data-binding.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To bind local data to the Spreadsheet, you can assign a JavaScript object array
2020
Refer to the following code example for local data binding.
2121

2222
{% tabs %}
23-
{% highlight ts tabtitle="app.component.ts" %}
23+
{% highlight ts tabtitle="app.ts" %}
2424
{% include code-snippet/spreadsheet/angular/local-data-binding-cs1/src/app.component.ts %}
2525
{% endhighlight %}
2626

@@ -42,7 +42,7 @@ By default, when a data source is bound to a sheet, columns are auto-assigned fr
4242
The following code example demonstrates how to customize the mapping of column data:
4343

4444
{% tabs %}
45-
{% highlight ts tabtitle="app.component.ts" %}
45+
{% highlight ts tabtitle="app.ts" %}
4646
{% include code-snippet/spreadsheet/angular/field-mapping-cs1/src/app.component.ts %}
4747
{% endhighlight %}
4848

@@ -60,7 +60,7 @@ To bind remote data to the Spreadsheet control, assign service data as an instan
6060
Refer to the following code example for remote data binding.
6161

6262
{% tabs %}
63-
{% highlight ts tabtitle="app.component.ts" %}
63+
{% highlight ts tabtitle="app.ts" %}
6464
{% include code-snippet/spreadsheet/angular/remote-data-binding-cs1/src/app.component.ts %}
6565
{% endhighlight %}
6666

@@ -78,7 +78,7 @@ Refer to the following code example for remote data binding.
7878
`OData` is a standardized protocol for creating and consuming data. You can retrieve data from OData service using the DataManager. Refer to the following code example for remote Data binding using OData service.
7979

8080
{% tabs %}
81-
{% highlight ts tabtitle="app.component.ts" %}
81+
{% highlight ts tabtitle="app.ts" %}
8282
{% include code-snippet/spreadsheet/angular/remote-data-binding-cs2/src/app.component.ts %}
8383
{% endhighlight %}
8484

@@ -94,7 +94,7 @@ Refer to the following code example for remote data binding.
9494
You can use WebApiAdaptor to bind spreadsheet with Web API created using OData endpoint.
9595

9696
{% tabs %}
97-
{% highlight ts tabtitle="app.component.ts" %}
97+
{% highlight ts tabtitle="app.ts" %}
9898
{% include code-snippet/spreadsheet/angular/remote-data-binding-cs3/src/app.component.ts %}
9999
{% endhighlight %}
100100

@@ -112,7 +112,7 @@ The Spreadsheet control can bind the data to individual cell in a sheet . To ach
112112
Refer to the following code example for cell data binding.
113113

114114
{% tabs %}
115-
{% highlight ts tabtitle="app.component.ts" %}
115+
{% highlight ts tabtitle="app.ts" %}
116116
{% include code-snippet/spreadsheet/angular/cell-data-binding-cs1/src/app.component.ts %}
117117
{% endhighlight %}
118118

@@ -142,7 +142,7 @@ The following table defines the arguments of the `dataSourceChanged` event.
142142
> For inserting a row at the end of the datasource range, you should insert a row below at the end of the range to trigger the `dataSourceChanged` event with action `add`.
143143
144144
{% tabs %}
145-
{% highlight ts tabtitle="app.component.ts" %}
145+
{% highlight ts tabtitle="app.ts" %}
146146
{% include code-snippet/spreadsheet/angular/dynamic-data-binding-cs1/src/app.component.ts %}
147147
{% endhighlight %}
148148

@@ -162,7 +162,7 @@ To use the [updateRange](https://ej2.syncfusion.com/angular/documentation/api/sp
162162
The following code example demonstrates how to dynamically update data using the [updateRange](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#updaterange) method.
163163

164164
{% tabs %}
165-
{% highlight ts tabtitle="app.component.ts" %}
165+
{% highlight ts tabtitle="app.ts" %}
166166
{% include code-snippet/spreadsheet/angular/dynamic-data-binding-cs2/src/app.component.ts %}
167167
{% endhighlight %}
168168

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To cancel the editing without saving the changes, you can use one of the followi
3939
The following sample shows how to prevent the editing and cell save. Here `E` column prevent the editing by using cancel argument as true in [`cellEdit`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#celledit) event. In `D` column, prevent saving the edited changes by using cancel argument as true in [`beforeCellSave`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#beforecellsave) and use [`closeEdit`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#closeedit) method in spreadsheet.
4040

4141
{% tabs %}
42-
{% highlight ts tabtitle="app.component.ts" %}
42+
{% highlight ts tabtitle="app.ts" %}
4343
{% include code-snippet/spreadsheet/angular/editing-cs1/src/app.component.ts %}
4444
{% endhighlight %}
4545

Document-Processing/Excel/Spreadsheet/Angular/filter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The [`applyFilter()`](https://ej2.syncfusion.com/angular/documentation/api/sprea
3636
The following code example shows `filter` functionality in the Spreadsheet control.
3737

3838
{% tabs %}
39-
{% highlight ts tabtitle="app.component.ts" %}
39+
{% highlight ts tabtitle="app.ts" %}
4040
{% include code-snippet/spreadsheet/angular/filter-cs1/src/app.component.ts %}
4141
{% endhighlight %}
4242

@@ -86,7 +86,7 @@ Filtering allows you to view specific rows in a spreadsheet while hiding the oth
8686
The following code example shows how to get the filtered rows.
8787

8888
{% tabs %}
89-
{% highlight ts tabtitle="app.component.ts" %}
89+
{% highlight ts tabtitle="app.ts" %}
9090
{% include code-snippet/spreadsheet/angular/filter-cs2/src/app.component.ts %}
9191
{% endhighlight %}
9292

Document-Processing/Excel/Spreadsheet/Angular/formatting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Custom Number formatting can be applied in following ways,
8989
The following code example shows the number formatting in cell data.
9090

9191
{% tabs %}
92-
{% highlight ts tabtitle="app.component.ts" %}
92+
{% highlight ts tabtitle="app.ts" %}
9393
{% include code-snippet/spreadsheet/angular/format/number-cs1/src/app.component.ts %}
9494
{% endhighlight %}
9595

@@ -144,7 +144,7 @@ configureLocalizedFormat(this.spreadsheetObj, deLocaleFormats);
144144
The following code example demonstrates how to configure culture-based formats for different cultures in the spreadsheet.
145145

146146
{% tabs %}
147-
{% highlight ts tabtitle="app.component.ts" %}
147+
{% highlight ts tabtitle="app.ts" %}
148148
{% include code-snippet/spreadsheet/angular/format/globalization-cs1/src/app.component.ts %}
149149
{% endhighlight %}
150150

@@ -215,7 +215,7 @@ Borders can be applied in the following ways,
215215
The following code example shows the style formatting in text and cells of the spreadsheet.
216216

217217
{% tabs %}
218-
{% highlight ts tabtitle="app.component.ts" %}
218+
{% highlight ts tabtitle="app.ts" %}
219219
{% include code-snippet/spreadsheet/angular/format/number-cs2/src/app.component.ts %}
220220
{% endhighlight %}
221221

@@ -313,7 +313,7 @@ You can clear the defined rules by using one of the following ways,
313313
* Using the [`clearConditionalFormat()`](https://ej2.syncfusion.com/angular/documentation/api/spreadsheet/#clearconditionalformat) method to clear the defined rules.
314314

315315
{% tabs %}
316-
{% highlight ts tabtitle="app.component.ts" %}
316+
{% highlight ts tabtitle="app.ts" %}
317317
{% include code-snippet/spreadsheet/angular/conditional-formatting-cs1/src/app.component.ts %}
318318
{% endhighlight %}
319319

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When loading spreadsheet data with culture-based formula argument separators usi
3131
In the example below, the Spreadsheet component is rendered with the `German culture (de)`. Additionally, you can find references on how to set the culture-based argument separator and culture-based formatted numeric value as arguments to the formulas.
3232

3333
{% tabs %}
34-
{% highlight ts tabtitle="app.component.ts" %}
34+
{% highlight ts tabtitle="app.ts" %}
3535
{% include code-snippet/spreadsheet/angular/formula-cs3/src/app.component.ts %}
3636
{% endhighlight %}
3737

@@ -51,7 +51,7 @@ You can define and use an unsupported formula, i.e. a user defined/custom formul
5151
The following code example shows an unsupported formula in the spreadsheet.
5252

5353
{% tabs %}
54-
{% highlight ts tabtitle="app.component.ts" %}
54+
{% highlight ts tabtitle="app.ts" %}
5555
{% include code-snippet/spreadsheet/angular/formula-cs1/src/app.component.ts %}
5656
{% endhighlight %}
5757

@@ -67,7 +67,7 @@ Second, if you want to directly compute any formula or expression, you can use t
6767
The following code example shows how to use `computeExpression` method in the spreadsheet.
6868

6969
{% tabs %}
70-
{% highlight ts tabtitle="app.component.ts" %}
70+
{% highlight ts tabtitle="app.ts" %}
7171
{% include code-snippet/spreadsheet/angular/formula-cs2/src/app.component.ts %}
7272
{% endhighlight %}
7373

@@ -94,7 +94,7 @@ You can define a meaningful name for a cell range and use it in the formula for
9494
The following code example shows the usage of named ranges support.
9595

9696
{% tabs %}
97-
{% highlight ts tabtitle="app.component.ts" %}
97+
{% highlight ts tabtitle="app.ts" %}
9898
{% include code-snippet/spreadsheet/angular/defined-name-cs1/src/app.component.ts %}
9999
{% endhighlight %}
100100

@@ -123,7 +123,7 @@ For example, consider a spreadsheet where cell `C1` contains the formula `=A1+B1
123123
The following code example demonstrates how to set the Automatic calculation mode in a Spreadsheet.
124124

125125
{% tabs %}
126-
{% highlight ts tabtitle="app.component.ts" %}
126+
{% highlight ts tabtitle="app.ts" %}
127127
{% include code-snippet/spreadsheet/angular/calculation-cs1/src/app.component.ts %}
128128
{% endhighlight %}
129129

@@ -146,7 +146,7 @@ For example, imagine a spreadsheet where cell `C1` contains the formula `=A1+B1`
146146
The following code example demonstrates how to set the Manual calculation mode in a Spreadsheet.
147147

148148
{% tabs %}
149-
{% highlight ts tabtitle="app.component.ts" %}
149+
{% highlight ts tabtitle="app.ts" %}
150150
{% include code-snippet/spreadsheet/angular/calculation-cs2/src/app.component.ts %}
151151
{% endhighlight %}
152152

Document-Processing/Excel/Spreadsheet/Angular/freeze-pane.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In the active spreadsheet, select the cell where you want to create frozen colum
4545
In this demo, the frozenColumns is set as ‘2’, and the frozenRows is set as ‘2’. Hence, the two columns on the left and the top two rows are frozen.
4646

4747
{% tabs %}
48-
{% highlight ts tabtitle="app.component.ts" %}
48+
{% highlight ts tabtitle="app.ts" %}
4949
{% include code-snippet/spreadsheet/angular/freezepane-cs1/src/app.component.ts %}
5050
{% endhighlight %}
5151

0 commit comments

Comments
 (0)