Hi,
You can't change the hierarchy of the nodes in the tree. But I think you can change the text.
"BindingList^1" in this case is the caption of the band in the grid. You probably never set a caption, so it's falling back to the band's Key. Try setting grid.DisplayLayout.Band.Header.Caption to "Columns" and I think that should work. If not, try Band.AddNewButtonCaption and see if it picks that up.
The word "Named References" doesn't come from the grid, obviously. Nor from any public property. But it is localizable in the CalcManager assembly. So you could change it by localizing the "Operand_Category_NamedReferences" string. Here are a few links that explain how to localize strings in the Infragistics assemblies:
Customizing Assembly Resource Strings
Assembly Resource Strings
Hm, sorry about that. I could have sworn there was a way to set it, but I must have been thinking of control references.
Hm. I see. I guess it's also using the name of the reference and not the display name of the band.
Unfortunately, there is no way around that - unless maybe there is also a ReferenceName property on the band like there is on the column. I don't think there is one, but I could be wrong.
Mike Saltzman"]<p>Um.. I'm not sure what this means. What is the "final node before the columns?" Are you saying that neither the caption of the band nor the AddNewButtonCaptionhad any effect? </p><p>
The caption of the band nor AddNewButtonCaption had any effect. "final node before columns" refers to the tree structure of the FormulaBuilderDialog's representation of available columns/references for formulas. I suppose I meant to say the parent node of the list of columns is set to the Name property of the Type of the grids DataSource. In my case, IBindingList is set to UltraGrid.DataSource and the text I see in the parent node to the columns in the FormulaBuilder is the result of this call:
grid.DataSource.GetType().Name
bperkins24 said:Name of the DataSource type as the final node before the columns
Um.. I'm not sure what this means. What is the "final node before the columns?" Are you saying that neither the caption of the band nor the AddNewButtonCaptionhad any effect?
bperkins24 said: I know you probably just answered this but there is no way I can completely get rid of the categories on the NamedReferences node and just have them all appear with the (All) and (Unassigned) nodes?
No, there is no way to do this.
bperkins24 said:Also, is there anyway to display the column headers instead of the column keys?
I think the name shown here is the column's reference name. This is the column's key by default, but I think you might be able to change it. I think I recall there is a property on the column where you can specify the ReferenceName? I could be wrong. But if so, you can change the ReferenceName to something more user-friendly. But you will also need to use this name in any formulas that reference the column.