gregnb / gregnb/mui-datatables
QUESTION: Default Implementation for customRowRender needed
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
I want to be able to implement custom icons when a row is hovered. I have a state variable that holds the currently hovered rowIndex. For that row I want to do a custom rendering and for the other rows I want the default row implementation. I was thinking about doing this with conditional rendering. But the problem is I don't know what the code looks like for the default row rendering. If I did I would just copy and paste it in.
| Tech | Version |
|----------- |---------|
| Material-UI | 4.11.3 |
| MUI-datatables | 3.7.6 |
| React | 17.0.1 |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.