Hello, everybody,
Please, I need to update my txtUnits Control when my UltraGrid change the value from column two.
All is ok, but my control txtUnits doesn't change and I don't see any error. Any Idea?
Regards
This is my code:
Private Sub CalcUnits() Try ucmCalc.SetCalcSettings(txtUnits, New CalcSettings("K", Nothing, "sum([//grdMaterials/Band 0/units])", "Value", CalcErrorIconAlignment.None)) ucmCalc.ReCalc() Catch ex As Exception Throw Finally End Try End Sub
Private Sub grdMaterials_AfterCellUpdate(sender As System.Object, e As Infragistics.Win.UltraWinGrid.CellEventArgs) Handles grdMaterials.AfterCellUpdate Try Call CalcUnits() Catch ex As Exception throw Finally End Try End Sub
Hello ErosDark,
I made small sample for you. Please take a look at the atatched sample and video file for more details and let me know if you have any questions.
here is the sample
Hello, thanks for replying,
What do you do with the control settings (UltraGrid, UltraCalcManager)?
I've attached an sample and I can't update the control UltraText,
Please, could you see it?
Thanks in advance.
Please take a look at the modifications that I made into your sample. Also please take a look at the attached video file for more details.
Let me know if you have any questions.
Thanks for the feedback. If you have any questions, feel free to write us
Video file