Hello,
I am really having serious problems to set up a very simple column layout for an ultra tree.
I personally think the layout settings are too fragile!
Here is what I am trying to do:
5 columns whose width fills the whole tree's width:
column 1: fixed width: 16
column 2: takes all remaining space
column 3: chaptered invisible column
column 4: fixed width: 20
column 5: fixed width: 20
column 1 & 2 share a header (label), so the headers of column 1 and 2 are merged.
I can only get this to show correctly by playing around with the preferred label size of column 1. Setting it to 99999 will show everything as I want it to be in the layout designer. Rebuilding the project will destroy everything and does some stupid rearranging of my columns and my layout breaks apart.
Show me a way to create an indestructible (by design) layout for my tree please.
Another thing is that I want my columns to show only images and no text. I cant figure out how to turn off Text (or Key if no Text is set). My work around is setting the text to " ".Is this possible?
Blue
I will be happy to assist you with your request.
I have attached a sample that demonstrates how to perform what you've described here in your post. Please look over the sample and let me know if you have any questions.
Hello Jose,
not bad, but could you also modify it so that column 1 & 2 headers are merged. Actually that is what's not working correctly for me.
I will be happy to help you out with this issue.
I have created case # CAS-90272-Z8P6M8 for you to better assist you with this issue going forward. To access the case, simply log into your IG account and click on My Support Activity.
Please let me know if you have further questions in this matter utilizing the case created.
I have investigated your issue regarding the marging of two columns using the LabelSpan property. I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 112137. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
Hello again,
I've just updated to 2011.2.2108 and tried to get this thing working.
After trying around with the ColumnSet Layout Designer I was still unable to create the layout as described in this thread.
The issue and the case are already closed, so I was expecting things to work now. Maybe someone can direct me in the right direction or show me how to do it the right now that the "bug" is gone?!
ISSUE NUMBER112137
CASE NUMBERCAS-90272-Z8P6M8
Hi Blue,
The bug which was fixed had to do with the headers and the cells not lining up with each other properly.That issue is fixed.
However... the sample you attached here indicates a misunderstanding about how the LabelSpan property works. You seem to be under the impression that you can use LabelSpan to make the label for a column have a different width than the cells in that column and effectively span across other cells. But that's not what this property does.
In order to have a label that spans two columns, you would need a third column whose LabelPosition is set to LabelOnly and whose SpanY is set to the sum of the SpanYs of the other two columns.The extra column would exist only to provide an additional header/label.
You would turn off the labels on both columns 0 and 1 in your example (LabelPosition = None), and then put in an unbound column that spans across them both with just a header.
Hello Mike,
thank you very much for your answer.
I tried your suggestion right away, but without success. I set the first two columns to LabelPosition = None, I inserted an unbound column at position 0 and set LabelPostion = LabelOnly. I set the SpanY to a value of 2. The Spans of the former Column 1 and 2 are set to 1.
The result is that I have my label column, which actually even has a width - what is not what I want of course - followed by a gap without any label above the 2 next data columns.
EDIT: Got it! I had to set the SpanX and SpanY of the unbound header/label column = -1