Skip to content

Commit

Permalink
Fixed #5037
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed Feb 1, 2018
1 parent 2b642e3 commit 25e8e0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ export class Table implements OnInit, AfterContentInit {

@Input() autoLayout: boolean;

@Output() onRowClick: EventEmitter<any> = new EventEmitter();

@Output() onRowSelect: EventEmitter<any> = new EventEmitter();

@Output() onRowUnselect: EventEmitter<any> = new EventEmitter();
Expand Down Expand Up @@ -656,8 +654,6 @@ export class Table implements OnInit, AfterContentInit {
return;
}

this.onRowClick.emit({ originalEvent: event.originalEvent, data: event.rowData });

if(this.selectionMode) {
this.preventSelectionSetterPropagation = true;
if(this.isMultipleSelectionMode() && event.originalEvent.shiftKey && this.anchorRowIndex != null) {
Expand Down
6 changes: 0 additions & 6 deletions src/app/showcase/components/table/tabledemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2164,12 +2164,6 @@ <h3>Events</h3>
</tr>
</thead>
<tbody>
<tr>
<td>onRowClick</td>
<td>event.originalEvent: Browser event <br>
event.data: Selected data </td>
<td>Callback to invoke when a row is clicked.</td>
</tr>
<tr>
<td>onRowSelect</td>
<td>event.originalEvent: Browser event <br>
Expand Down

0 comments on commit 25e8e0e

Please sign in to comment.