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 

Non collapsable rows

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



Joined: 11 Nov 2007
Posts: 75

PostPosted: Sun Jan 20, 2008 6:52 pm    Post subject: Non collapsable rows Reply with quote

Hi,

I want some rows to be displayed even if the parent of the row in question has been collapsed. Is this possible to do??

Also if the colMain field is equal to "" or empty I do not want the tree line to be displayed. Is this possible??

Tom
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Jan 20, 2008 10:01 pm    Post subject: Re: Non collapsable rows Reply with quote

tom145 wrote:
I want some rows to be displayed even if the parent of the row in question has been collapsed. Is this possible to do??

No - not with major modifications to the way the tree works. Probably not possible without purchasing the source code - even then it would be tricky.
An alternative which might achieve the same objective for you is to display some preview information in the parent row. You can format multiline rows using Rich Text (see the Advanced Features sample for an example of this - when the window is resized to be small this sample displays a preview under the main text for the cell in a different font).

You could also do the same thing by implementing your own custom RowWidget to do the painting (see the section in the online help on customizing widgets).

Quote:
Also if the colMain field is equal to "" or empty I do not want the tree line to be displayed. Is this possible??


The only way to prevent rows being displayed is to remove the item from the list of children returned for the parent. If you handle the GetChildren event then you can remove from the list of children returned all those rows that don't meet a certain criteria.
_________________
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