I have a databound Ultratree that is filled according to the recommended method by Infragistics:
objDataAdapter =
New SqlDataAdapter(String.Format("Select * From iclm order by iclm_par_id, iclm_seq_no"), sConnection)
objDataAdapter.Fill(dsResult)
I then bind this to the Ultratree control using Standard View using a dataview:
dvView = dsResult.Tables(0).DefaultView
UltraTree1.DataSource = dvView
I control the order of the nodes using a column from the DB called "iclm_seq_no". I allow the user to move the nodes in a level up or down by selecting. I then update the "iclm_seq_no" with the new order. The problem arises when I resort the dataview to update the Ultratree's order. Any changes on the root level show but any changes to the sort order on the child levels are not reflected.
I want to avoid clearing out the Ultratree and rebinding it since all the expansions are lost and the tree basically resets itself.
Any ideas?
Hi ndrdb,
Please let me know if this is still an issue.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Hi Chris,
I need to bind Ultra tree nodes and sub nodes dynamicaaly [from database]. But failing to keep relation between Parent with child node hence not able to populate them correctly. I need checkbox functionality too woth them at every node of tree [Parent and child].
Can you help me with the same.
Regards,
Chetan Navale
I ended up just manually building the tree instead of databinding it and that worked. I was able to do everything I needed once it was a manually built tree.
Ndrdb