-const mapDispatchToProps = (dispatch: Dispatch, { id, contextActions, onRowClick, onRowDoubleClick, onContextAction }: Props) => ({
- onSearch: (searchValue: string) => {
- dispatch(actions.SET_SEARCH_VALUE({ id, searchValue }));
- },
+const mapDispatchToProps = (dispatch: Dispatch, { id, columns, onRowClick, onRowDoubleClick, onContextMenu }: Props) => {
+ dispatch(dataExplorerActions.SET_COLUMNS({ id, columns }));
+ return {
+ onSearch: (searchValue: string) => {
+ dispatch(dataExplorerActions.SET_SEARCH_VALUE({ id, searchValue }));
+ },