View previous topic :: View next topic |
Author |
Message |
Longmountain
Joined: 02 Aug 2006 Posts: 4
|
Posted: Thu Aug 03, 2006 9:35 am Post subject: Generate Columns with Treename in the Columnname |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Aug 03, 2006 1:04 pm Post subject: |
|
|
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 |
|
|
|