diff --git a/packages/grafana-ui/src/components/Table/Table.tsx b/packages/grafana-ui/src/components/Table/Table.tsx index 2734bc0e706..7fb1a286e96 100644 --- a/packages/grafana-ui/src/components/Table/Table.tsx +++ b/packages/grafana-ui/src/components/Table/Table.tsx @@ -165,7 +165,7 @@ export class Table extends Component { } }; - handleCellClick = (rowIndex: number, columnIndex: number) => { + onCellClick = (rowIndex: number, columnIndex: number) => { const { row, column } = this.getCellRef(rowIndex, columnIndex); if (row < 0) { this.doSort(column); @@ -190,7 +190,7 @@ export class Table extends Component { } return ( -
this.handleCellClick(rowIndex, columnIndex)}> +
this.onCellClick(rowIndex, columnIndex)}> {col.text} {sorting && }