gregnb / gregnb/mui-datatables

Customise row hover and rowSelect in React

Open
#748 8 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

The mui-datatable is amazing. However, I am having issues with some of the customisation.
Is it possible to change the hover and rowSelect color for ReactJs?

I can see that the hover selector is at .MultiTableRow-root.MultiTableRow-hover: hover but can not seems to override the backgroundColor using createMuiTheme. I need to be able to change the color for both the hover and rowSelect selectors.

Finally is it possible to show and keep the Search bar open?

I am building the components using React and Storybook.js and if I am able to solve these, I will put them in GitHub and link back from here to show others how to do it.

Thank you.

Versions:
mui-database: 2.5.1
react: 16.8.6
storybook/react: 5.1.9

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.