gregnb / gregnb/mui-datatables

customHeadLabelRender: error resizing in mobile mode

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

Description

## 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)

1. Resize the window
2. 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 | |

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.