diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 345059340..bbdf20dd8 100644 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -57,6 +57,7 @@ export declare class DataTable extends Vue { $emit(eventName: 'page', event: Event): this; $emit(eventName: 'sort', event: Event): this; $emit(eventName: 'filter', event: Event): this; + $emit(eventName: 'row-click', event: Event): this; $emit(eventName: 'row-select', event: Event): this; $emit(eventName: 'row-unselect', event: Event): this; $emit(eventName: 'column-resize-end', event: Event): this; diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index 819a9be53..f30fc20bc 100644 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -1932,6 +1932,12 @@ export default { event.filteredValue: Filtered collection. Callback to invoke on filtering. + + row-click + event.originalEvent: Browser event.
+ event.data: Selected row data. + Callback to invoke when a row is clicked. + row-select event.originalEvent: Browser event.