+ onFiltersChange: (filters: DataTableFilters, column: DataColumn<any>) => {
+ dispatch(dataExplorerActions.SET_FILTERS({ id, columnName: column.name, filters }));
+ },
+
+ onChangePage: (page: number) => {
+ dispatch(dataExplorerActions.SET_PAGE({ id, page }));
+ },
+
+ onChangeRowsPerPage: (rowsPerPage: number) => {
+ dispatch(dataExplorerActions.SET_ROWS_PER_PAGE({ id, rowsPerPage }));
+ },
+
+ onLoadMore: (page: number) => {
+ dispatch(dataExplorerActions.SET_PAGE({ id, page }));
+ },
+
+ onRowClick,
+
+ onRowDoubleClick,
+
+ onContextMenu,
+ });
+};
+
+export const DataExplorer = connect(mapStateToProps, mapDispatchToProps())(DataExplorerComponent);