Hello everybody,
Please, I can't edit the columns from Ultragrid Control when this is working with UltraCalcManager, please,
I've attached an example with my scenario.
Any help will be appreciated
Thanks in advance...
Thanks for your feedback. If you have any further questions, do not hsitate to write us
Thanks for your quick response... This is what I was looking for.
Hello ErosDark,
Thanks for attached sample, but the mentioned behavior is expected. If you assign a Formula to any column, then the Formula calculation will overwrite any other value in the cell. There's no way to have a column with a Formula and also set the Value of the cell in the column to anything other than the formula result.
Maybe one possible solution for your scenario could be if you handle suitable events to remove / add the formula. For example you could use:
Private Sub grdPrecintos_BeforeEnterEditMode(sender As System.Object, e As System.ComponentModel.CancelEventArgs) Handles
grdPrecintos.BeforeEnterEditMode
grdPrecintos.ActiveCell.Column.Formula =Nothing
End Sub
By this way when you click at your cell you will be able to edit the cell, but next time when you change your UltraTextEditor, you should set the formula property again to your column.
Let me know if you have any questions.