mui-datatables
mui-datatables copied to clipboard
customHeadLabelRender: error resizing in mobile mode
Expected Behavior
the customHeadLabelRender method must always return the value of the function
Current Behavior
When resizing the page, the customHeadLabelRender method always returns the property name instead of the method value
Steps to Reproduce (for bugs)
- Resize the window
- Check the value of the column header
Your Environment
| Tech | Version |
|---|---|
| Material-UI | latest |
| MUI-datatables | 4.1.0 |
| React | 17.0.2 |
| browser | chrome |
| etc |