Skip to main content
1-Visitor
March 4, 2016
Question

Bind data to tree

  • March 4, 2016
  • 1 reply
  • 1430 views

Hi,

i have a data table which i need to bind tree. its just a simple data table. i tried to bind with tree by setting parent and child field. but still i am not able to see any data.

is there any way to bind with tree.

thanks.

Sandeep

1 reply

1-Visitor
March 4, 2016

You can provide a datatable as input for the tree, but the datatable must have the following columns:

fromtoconnectionType
spandey11-VisitorAuthor
1-Visitor
March 7, 2016

Thank you Sebastian,

i have added above columns, but i don't want to use connections like-

connections = Networks['NetwrokName"'].GetNetworkConnectionsWithTemplate();

i have a simple data table where i have added three columns- "from","to", "connectionType".

after querying i am getting data. but while binding with tree, i don't see any data in tree.

Note : i have tried with network connections, then tree is populated, but i don't want to bind network data, simply i want to display some data in tree view. so is there anyway where i can achieve binding tree view without getting network connection.

My tree has nothing to do with network connection, it simply need to bind data based on parent value like -

ClassroomA

          -A

          -B

          -C

ClassroomB

          -D

          -E

          -F

Regards,

Sandeep