DataTable headerColumnGroup prop show unespected warning #3397
Unanswered
m4rko80
asked this question in
PrimeReact
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am using primereact latest versione 10.9.1 and i show many warning when using headerColumnGroup props to show a custom grouped header.
For istance this code display correctly my HTML but with warning:
`
const content = (<>some content</>)
<DataTable
headerColumnGroup={content}
//... more props
`
From types definitions, headerColumnGroup accept React.ReactNode || undefined.
I didn't found when it start to show warning but at the moment i didn't figure out to solve the problem.
If i use this code i dont see any warning but nothign in rendered:
`
const Content = ( ) => <>some content</>
<DataTable
headerColumnGroup={}
//... more props
So, is not something about the content itself but i don't know how to fix it.
Any idea?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions