How to set value for TreeTable when using Typescipt

UI Components for React
Post Reply
binkle
Posts: 3
Joined: 16 Aug 2018, 15:22

23 Aug 2018, 07:35

Hi,
even when setting empty array to the value property of TreeTable Typescript complains about wrong types:
Image

How can I solve this?

Greetings
Harry

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Aug 2018, 21:09

What is your PrimeReact version?

binkle
Posts: 3
Joined: 16 Aug 2018, 15:22

08 Nov 2018, 09:50

Thanks for your reply.
I was using beta7.
Meanwhile I upgraded to beta9 and managed it to get it work in an hello world app.
However the original issue why I saw no data is a different one.
I'll create a new topic for this.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests