Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TreeStyle question

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
chyftom



Joined: 22 Oct 2009
Posts: 5

PostPosted: Fri Jan 08, 2010 10:35 am    Post subject: TreeStyle question Reply with quote

Hello, I have a question about tree style. For example, the tree has two rows(one is parent row, the other is child row), and as default an icon '+' is in the front of parent row, and a little image '|_' is in the front of child row. See the picture below:

. for now, i don't want to the UI show the level, that means don't show an icon '+' in the front of parent row and dont' show a little image '|_' is in the front of child row, two rows looks like on one level. how can i do it?
thank you.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Jan 08, 2010 10:09 pm    Post subject: Reply with quote

You can get rid of the connections by setting the Virtual.LineStyle to LineStyle.None. Getting rid of the Expand/Collapse icons is more problematic - because then the user will not have any way of expanding or collapsing the row. You could set the ExpandIcon and CollapseIcon to an empty icon - however the user could still conceivable expand/collapse the row if they knew where to click. They will still be able to expand/collapse the row using keyboard +/- keys unless you override these as well.

If the data is not really heirarchical, why not just load it into a single list that you then display.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group