View previous topic :: View next topic |
Author |
Message |
karthik
Joined: 14 Aug 2008 Posts: 14 Location: Canada
|
Posted: Mon Sep 28, 2009 1:29 pm Post subject: Rows without Prefix Widget show 'F' |
|
|
For rows where I set the prefix editor to be null, the character 'F' is displayed intead of the prefix editor (in this case, a checkbox). I'm currently working around this issue with the following code:
Code: |
public override void OnLayout()
{
base.OnLayout();
if (Columns.Count > 0)
{
CellWidget prefixWidget = GetCellWidget(this.Tree.PrefixColumn);
if (prefixWidget.CellData.Editor == null)
{
prefixWidget.CellData.ShowText = false;
}
}
}
|
This issue has been present with all versions of Virtual Tree since 3.10.4 (We are using 3.13.0 currently). |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Sep 29, 2009 12:09 am Post subject: |
|
|
If you don't want anything displayed then you need to also set the CellData.Value to null. You are probably getting an "F" displayed because the CellData.Value is set to Boolean.False. _________________ Infralution Support |
|
Back to top |
|
|
|