Hello,
I have an UltraWinGrid bound to an UltraDataSource with one UltraDataColumn with a key of "Age".
I have an UltraCalcManager on the form as well.
I set the UltraDataColumn key to "Age2" (when the user renames the column).
I add an unbound column to the grid and set it's formula to [Age2] and it displays #REF
I set it's formula to [Age] and it displays ages.
The UltraCalcManager isn't picking up on the fact that the key has changed. Is there any way to tell it to update it's references? I'd like to avoid deleting the column and re-adding it.
Thanks for the help!
Hello lenp,
I have created a support request for you regarding this issue. For more details, please visit the My Support Requests page.
Thanks for the quick reply.
I'm changing the key at run-time.
I'm using version 8.3.20083.1009 of Infragistics2.Win.UltraWinCalcManager.v8.3.
I agree that the grid should notify the CalcManager when a bound colunn's key is changed. I have confirmed that currently, it does not.
Hi,
Are you changing the key of the column at Design-time or run-time?
What version of the controls are you using?
When you change the name of a reference, like a column, it's up to the control that was changed to report this to the UltraCalcManager. The grid will do this automatically if you change the key of a column.
I suppose it's possible that the grid is failing to notify the CalcManager when a bound column's Key is changed on the DataSource, but that seems unlikely. And even if that were the case, the CalcManager does not persist the keys for it's references, so if you changed the name of the column at design-time, it would work fine when you ran the application or closed and re-opened the form designer.