Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit a18236b

Browse files
authored
Merge pull request #1532 from anton-gustafsson/master
fix(docs): update onGridStateServiceChanged to onGridStateChanged
2 parents d058102 + c94091d commit a18236b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/grid-functionalities/Grid-Menu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,18 +142,18 @@ export class GridDemoComponent {
142142
143143
### Grid State Event
144144
There are 2 ways of subscribing to GridState Service event changed.
145-
1. Through `(onGridStateServiceChanged)` Event Emitter (recommended)
145+
1. Through `(onGridStateChanged)` Event Emitter (recommended)
146146
2. Through `onGridStateChanged` Observable on the GridState Service.
147147

148148
Examples
149-
#### 1. `(onGridStateServiceChanged)` Event Emitter (recommended)
149+
#### 1. `(onGridStateChanged)` Event Emitter (recommended)
150150
##### View
151151
```html
152152
<angular-slickgrid gridId="grid1"
153153
[columnDefinitions]="columnDefinitions"
154154
[gridOptions]="gridOptions"
155155
[dataset]="dataset"
156-
(onGridStateServiceChanged)="gridStateChanged($event)">
156+
(onGridStateChanged)="gridStateChanged($event)">
157157
</angular-slickgrid>
158158
```
159159
##### Component
@@ -242,4 +242,4 @@ this.gridOptions = {
242242
}
243243
};
244244
```
245-
You could technically redefine by hand the complete list of `columns` that the `presets` requires. I would personally do it via the Column Definitions looping with `map()`, but go manual is also perfectly fine. You would just re-declare the `columns` again with the `id` and `width` and that would work as well.
245+
You could technically redefine by hand the complete list of `columns` that the `presets` requires. I would personally do it via the Column Definitions looping with `map()`, but go manual is also perfectly fine. You would just re-declare the `columns` again with the `id` and `width` and that would work as well.

docs/grid-functionalities/Grid-State-&-Preset.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,18 @@ export class GridDemoComponent {
145145
146146
### Grid State Event
147147
There are 2 ways of subscribing to GridState Service event changed.
148-
1. Through `(onGridStateServiceChanged)` Event Emitter (recommended)
148+
1. Through `(onGridStateChanged)` Event Emitter (recommended)
149149
2. Through `onGridStateChanged` Observable on the GridState Service.
150150

151151
Examples
152-
#### 1. `(onGridStateServiceChanged)` Event Emitter (recommended)
152+
#### 1. `(onGridStateChanged)` Event Emitter (recommended)
153153
##### View
154154
```html
155155
<angular-slickgrid gridId="grid1"
156156
[columnDefinitions]="columnDefinitions"
157157
[gridOptions]="gridOptions"
158158
[dataset]="dataset"
159-
(onGridStateServiceChanged)="gridStateChanged($event)">
159+
(onGridStateChanged)="gridStateChanged($event)">
160160
</angular-slickgrid>
161161
```
162162
##### Component
@@ -242,4 +242,4 @@ this.gridOptions = {
242242
}
243243
};
244244
```
245-
You could technically redefine by hand the complete list of `columns` that the `presets` requires. I would personally do it via the Column Definitions looping with `map()`, but go manual is also perfectly fine. You would just re-declare the `columns` again with the `id` and `width` and that would work as well.
245+
You could technically redefine by hand the complete list of `columns` that the `presets` requires. I would personally do it via the Column Definitions looping with `map()`, but go manual is also perfectly fine. You would just re-declare the `columns` again with the `id` and `width` and that would work as well.

docs/grid-functionalities/Row-Selection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ handleOnSelectedRowsChanged(args) {
174174
[columnDefinitions]="columnDefinitions"
175175
[gridOptions]="gridOptions"
176176
[dataset]="dataset"
177-
(onGridStateServiceChanged)="handleOngridStateChanged($event.detail.args)">
177+
(onGridStateChanged)="handleOngridStateChanged($event.detail.args)">
178178
</angular-slickgrid>
179179
```
180180
```ts
@@ -244,4 +244,4 @@ addNewColumn() {
244244
// you could also use SlickGrid setColumns() method
245245
// this.angularGrid.slickGrid.setColumns(cols);
246246
}
247-
```
247+
```

0 commit comments

Comments
 (0)