Chetan Gawai
Chetan Gawai

Reputation: 2401

Tree structure in react-admin

I want to represent my nested data in tree structure. Is there any way to show nested data in tree view using react-admin?

Upvotes: 2

Views: 1564

Answers (2)

Michail Michailidis
Michail Michailidis

Reputation: 12181

Although experimental you can have a look on this plugin: https://github.com/marmelab/react-admin/tree/master/packages/ra-tree-ui-materialui

It seems that nested data should be of the same resource (e.g categories and subcategories) and not different ones as someone might wish it supported

Upvotes: 2

Gildas Garcia
Gildas Garcia

Reputation: 7066

No, there isn't. You'll have to create a custom React component for that.

Upvotes: 1

Related Questions