Hi friends, Please, I'm working with the UltraTree Control and this moment I have two Problems
1. I'm showing my data on two levels (Category And Products) and I can't modify the width from the Control. The name of my product is cut as in Figure below.
2. At the second level the symbol plus (+) should'nt appear on the left, How Can I remove it?.
Please, any idea,
Thanks, God Bless You.
Hello ErosDark,
For the first issue you could try the following code, putting it in the 'InitializeDataNode' event of the 'UltraTree' control:
foreach (UltraTreeNodeCell col in e.Node.Cells) { col.Column.PerformAutoResize(); }
As to the second question, could you please try setting the 'ShowExpansionIndicator' property:
ultraTree1.Override.ShowExpansionIndicator = Infragistics.Win.UltraWinTree.ShowExpansionIndicator.CheckOnDisplay;
Please feel free to let me know if I misunderstood you or if you have any other questions.
Thanks for replyng, please, Could you post this code in VB.NET
Thanks.
Hi again,
You could try:
For Each col As UltraTreeNodeCell In e.Node.Cells col.Column.PerformAutoResize() Next
For Each col As UltraTreeNodeCell In e.Node.Cells
col.Column.PerformAutoResize()
Next
Please let me know if this works.
Sorry to reopen the thread. How Can I improve the performance of UltratreeControl Control, each time I click the symbol expansion , this delay in displaying the result. Before it was fast.
Any idea.