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 

Generate Columns with Treename in the Columnname

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



Joined: 02 Aug 2006
Posts: 4

PostPosted: Thu Aug 03, 2006 9:35 am    Post subject: Generate Columns with Treename in the Columnname Reply with quote

Is there a way to generate Columns with a name that contains the name of the corresponding tree. As prefix or suffix.

When two VirtualTrees are used on a form and the data which will be displayed containing the same propertynames, then columns will be named as colID and for the other tree colID1.

It would be nice to have names like colCustomersID and colOrderID or colID_Customer and colID_Order.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Aug 03, 2006 1:04 pm    Post subject: Reply with quote

You can modify the names of the column variables after they are generated by editing the Name property in the Virtual Tree Column Editor. If you are feeling a bit braver you can change them in the generated code using the "refactor" right menu function in Visual Studio. However there is no way at the moment to set the prefix when generating columns automatically.
_________________
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