Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Controlling formatting and behavior in UltraTree
posted

I have a multi-level tree that needs to display different types of information for each level.  I'm using the ColumnSetGenerated event to hide the columns I'm not interested in.  Also in this event, per advice given in several threads on this forum I added an unbound column of type boolean so that I can still have a checkbox as the first cell in my node.  For my other column, I changed the AllowCellEdit property to Activate only and I intend to trap the click event/keypress and put the cell into edit mode manually. 

I have used the ActiveCellAppearance property to make the text column look more like a typical tree when it is selected.  Here is what I'm getting...

First, I haven't been able to get rid of the dotted border around the cell when it is selected.  I have tried setting the ActiveCellAppearance.BorderColor to transparent but it doesn't seem to be working. 

Second, the checkbox control to the left is rending a background.  I have tried setting using the same method I'm using on the text cell to override its background colors but it isn't responding.

Can someone point me in the right direction here?