This is a migrated thread and some comments may be shown as answers.

Render dynamic json

1 Answer 288 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 16 Jun 2020, 05:10 PM

How do you configure the treeview to accept unstructured but properly formed json?

It must be possible because Chrome Development Tools has no problems showing any json sent to it.

 

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 19 Jun 2020, 12:48 PM

Hello Jon,

The TreeView for ASP.NET Core displays hierarchical data from a remote source via binding to a data source. The remote endpoint should return homogenous objects. As long as this condition is met the TreeView will be able to display the data passed to it. You can review an example in a runnable demo on the TreeView Remote DataBinding Demo.

Regards,
Aleksandar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TreeView
Asked by
Jon
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or