From ec1c91a2f9b92bae2e5fcb4732bc96dee375a6bb Mon Sep 17 00:00:00 2001 From: Ghislain B Date: Fri, 1 Jun 2018 20:29:58 -0400 Subject: [PATCH] refactor(example): fixed onCellChange event and advertise delete feature --- aurelia-slickgrid/src/examples/slickgrid/example3.html | 4 ++-- aurelia-slickgrid/src/examples/slickgrid/example3.ts | 4 ++-- aurelia-slickgrid/src/examples/slickgrid/index.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aurelia-slickgrid/src/examples/slickgrid/example3.html b/aurelia-slickgrid/src/examples/slickgrid/example3.html index 4c8be36bd..216ada762 100644 --- a/aurelia-slickgrid/src/examples/slickgrid/example3.html +++ b/aurelia-slickgrid/src/examples/slickgrid/example3.html @@ -28,7 +28,7 @@

${title}

Updated Item: ${updatedObject | stringify}
- ${alertWarning} + ${alertWarning}
@@ -38,7 +38,7 @@

${title}

column-definitions.bind="columnDefinitions" grid-options.bind="gridOptions" dataset.bind="dataset" - sg-on-cell-changed.delegate="onCellChanged($event.detail.eventData, $event.detail.args)" + sg-on-cell-change.delegate="onCellChanged($event.detail.eventData, $event.detail.args)" sg-on-click.delegate="onCellClicked($event.detail.eventData, $event.detail.args)" asg-on-aurelia-grid-created.delegate="aureliaGridReady($event.detail)"> diff --git a/aurelia-slickgrid/src/examples/slickgrid/example3.ts b/aurelia-slickgrid/src/examples/slickgrid/example3.ts index 6c93d8d6c..c0d483d70 100644 --- a/aurelia-slickgrid/src/examples/slickgrid/example3.ts +++ b/aurelia-slickgrid/src/examples/slickgrid/example3.ts @@ -17,7 +17,7 @@ declare var Slick: any; @autoinject() export class Example3 { - title = 'Example 3: Editors'; + title = 'Example 3: Editors / Delete'; subTitle = ` Grid with Inline Editors and onCellClick actions (Wiki docs).