gregnb / gregnb/mui-datatables
CustomBody Render not updating the state of the table
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
When I use CustomBody Render to update any value in the table using updateValue the state is still the old when I try to fetch the data of the table on a button click.
customBodyRender: (value, tableMeta, updateValue) => (
{
updateValue(value);
}}
/>
),
},
Even though we update the value and try to fetch the table Data, The data is still having the initial value
## Expected Behavior
## Current Behavior
## Steps to Reproduce (for bugs)
1.
2.
3.
4.
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | |
| MUI-datatables | |
| React | |
| browser | |
| etc | |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.