I'm assigning a specific checkbox to each column on each node as I build out the tree. I've configured up 2 check boxes, both have different back gorund colors, enabled, state, different checked appearance, etc... Once the tree is populated, all of the check boxes appear the same though. :(
Below is the function I used to build a node. Hmmm... Seems, my white spacign was preserved on paste, sorry about that. :(
//
// Determine which application we belong too and they add our business object to
// that app node, if the app doesn't exist yet, create a new node for it.
UltraTreeNode appNode = ultraTreeAliObj.GetNodeByKey(appName);
appNode = ultraTreeAliObj.Nodes.Add();
appNode.Key = appName;
}
// For name we place the whole object in the cell so we can get the whole object later.
// The name will be displayed as the cell with use the ToString function on AliObject
// which returns the name.
UltraTreeNode newNode = null;
baseNode = appNode;
newNode = ultraTreeAliObj.GetNodeByKey(folder);
newNode = baseNode.Nodes.Add();
newNode.Key = folder;
//newNode.Cells["Include"].EditorControl.BackColor = Color.Gray; // doesn't work
baseNode = newNode;
newNode = appNode.Nodes.Add();
newNode.Key = aliObj.Uri;
newNode.Cells["Include"].EditorControl = ultraCheckEditorEnabled;
Set the AllowCellEdit property of the column you want to disable to 'Disabled'.
newNode.Cells["Include"]
or on
newNode.Cells["Include"].Column
Is this a property added since netAdvantage 2005 Volume 2?
And before you ask to upgrade, I've tried twice in 2007 and was unable too and your supprot staff was unable to resolve the designer errors I was having with the newer releases.