gregnb / gregnb/mui-datatables
tableData in tableMeta of customBodyRender is ambiguous
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
I am passing an array of objects as data to the table. Sometimes I receive an array of values/strings in tableData and sometimes I receive an array of objects. I am confused why this is happening. Can anyone please help me out here. My preference is to get tableData as an array of object.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the customBodyRender callback and its tableMeta.tableData value in the repository. Compare the documented and observed shapes for array-of-object input, then clarify the expected behavior and add coverage if an existing test location is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100