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