View previous topic :: View next topic |
Author |
Message |
incentives
Joined: 31 Dec 2008 Posts: 5 Location: Israel
|
Posted: Sat Mar 07, 2009 11:40 am Post subject: Column background style |
|
|
Hello Support ,
I want to set a different visual styles for columns in the VirtualTree.
Especially it's important for Main Column Background style .
Thanks a lot . |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Mar 08, 2009 9:27 pm Post subject: |
|
|
You can set styles for Columns using the Virtual Tree designer. Simply select the column(s) and set the properties of the CellStyle. This will apply the style to the whole column. _________________ Infralution Support |
|
Back to top |
|
|
incentives
Joined: 31 Dec 2008 Posts: 5 Location: Israel
|
Posted: Mon Mar 09, 2009 11:01 am Post subject: Cell style |
|
|
Hi,
The problem is that it doesn't paint the Expand and Collapse Area (And the tree lines!) See screenshot
[/img] |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Mar 09, 2009 9:04 pm Post subject: |
|
|
The cells in the main column start after the expansion indicator. The style of the area before this is controlled by the VirtualTree.RowStyle. You could set this style as required then modify the styles of the other cells. I can see that this may be a little incovenient in your case where you are trying to set the background of the entire column. This is an issue we will take a look at to see if we can change. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Apr 29, 2009 9:51 am Post subject: |
|
|
We have reworked the RowWidget and CellWidget drawing code in Version 3.12.0 (just released) so that now you can set the background of the whole main column by setting the Column.CellStyle. _________________ Infralution Support |
|
Back to top |
|
|
|