(edit) and (editConfirm) not emitting.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 867
- PR merge metrics
- No merged PRs in 30d
Description
I'm not able to emit the (edit) event and (editConfirm) event with the code below.
**./user-table.component.html**
```
```
**UserTableComponent**
```
import { Component } from '@angular/core';
import { User } from 'app/user/user.model';
@Component({
selector: 'app-user-table',
templateUrl: './user-table.component.html',
})
export class UserTableComponent {
settings = {
columns: {
firstname: {
title: 'First Name',
},
lastname: {
title: 'Last Name',
},
},
};
data: User[];
constructor() {
this.data = [
new User('Chris', 'Jeffery'),
new User('Chris', 'Jeffery'),
new User('Chris', 'Jeffery'),
new User('Chris', 'Jeffery'),
new User('Chris', 'Jeffery'),
new User('Chris', 'Jeffery'),
];
}
onFoo(event, eventName: string): void {
debugger;
console.log(eventName, event);
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.