diff --git a/docs/grid-functionalities/Grid-Menu.md b/docs/grid-functionalities/Grid-Menu.md index 2782ef71..cfdd2a1c 100644 --- a/docs/grid-functionalities/Grid-Menu.md +++ b/docs/grid-functionalities/Grid-Menu.md @@ -142,18 +142,18 @@ export class GridDemoComponent { ### Grid State Event There are 2 ways of subscribing to GridState Service event changed. -1. Through `(onGridStateServiceChanged)` Event Emitter (recommended) +1. Through `(onGridStateChanged)` Event Emitter (recommended) 2. Through `onGridStateChanged` Observable on the GridState Service. Examples -#### 1. `(onGridStateServiceChanged)` Event Emitter (recommended) +#### 1. `(onGridStateChanged)` Event Emitter (recommended) ##### View ```html + (onGridStateChanged)="gridStateChanged($event)"> ``` ##### Component @@ -242,4 +242,4 @@ this.gridOptions = { } }; ``` -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. \ No newline at end of file +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. diff --git a/docs/grid-functionalities/Grid-State-&-Preset.md b/docs/grid-functionalities/Grid-State-&-Preset.md index 544661d1..33947fb9 100644 --- a/docs/grid-functionalities/Grid-State-&-Preset.md +++ b/docs/grid-functionalities/Grid-State-&-Preset.md @@ -145,18 +145,18 @@ export class GridDemoComponent { ### Grid State Event There are 2 ways of subscribing to GridState Service event changed. -1. Through `(onGridStateServiceChanged)` Event Emitter (recommended) +1. Through `(onGridStateChanged)` Event Emitter (recommended) 2. Through `onGridStateChanged` Observable on the GridState Service. Examples -#### 1. `(onGridStateServiceChanged)` Event Emitter (recommended) +#### 1. `(onGridStateChanged)` Event Emitter (recommended) ##### View ```html + (onGridStateChanged)="gridStateChanged($event)"> ``` ##### Component @@ -242,4 +242,4 @@ this.gridOptions = { } }; ``` -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. \ No newline at end of file +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. diff --git a/docs/grid-functionalities/Row-Selection.md b/docs/grid-functionalities/Row-Selection.md index 7fd3664d..81ce5a6b 100644 --- a/docs/grid-functionalities/Row-Selection.md +++ b/docs/grid-functionalities/Row-Selection.md @@ -174,7 +174,7 @@ handleOnSelectedRowsChanged(args) { [columnDefinitions]="columnDefinitions" [gridOptions]="gridOptions" [dataset]="dataset" - (onGridStateServiceChanged)="handleOngridStateChanged($event.detail.args)"> + (onGridStateChanged)="handleOngridStateChanged($event.detail.args)"> ``` ```ts @@ -244,4 +244,4 @@ addNewColumn() { // you could also use SlickGrid setColumns() method // this.angularGrid.slickGrid.setColumns(cols); } -``` \ No newline at end of file +```