Hi, All.
My problem is in WinCalcManager... Can I get a formula that is being calculated at the current time?
i have my implementation of IFormulaValueConverter class but i have only value and context in ConvertToUltraCalcValue method...
Depending on current formula i must return different UltraCalcValue from the same value parameter...
P.S.
It will aslo be great if you may be tell me how to use in calculations fields from foreign key table, for example:
Grid has these columns:
ID
N_Count
N_Price
F_Rate
And the F_Rate table has these columns
B_BooleanProperty
N_Rate1
N_Rate2
So I need to use a formula like that:
[N_Count] * [N_Price] * if ([F_Rate.B_BooleanProperty],[F_Rate.N_Rate1],[F_Rate.N_Rate2])
What does the Context return? I would think it must return some object that allows you to get the formula being calculated.
Well, context is a parameter of ConvertToUltraCalcValue method of IFormulaValueConverter...
in my case this is an UltraGridCell object which contains value, referenced by formula. I've explored it's properties through debugger but didn't find anything about formula which is being calculated currently. =((((((
p.s. this is the quote from Infragistics Help: