I need to bind a specific values of a column
to another column
based on some conditions.
I have four columns
in my grid, so based on the values of the second column
I need to prefer binding the values of the third column to the same or fourth column
(i.e either one) in Ultragrid
.
In which event can I write this? How to do this?
Use InitializeRow event of UltraGrid
Try this:
//Code
Private Sub grdReport_InitializeRow(sender As Object, e As InitializeRowEventArgs) Handles grdReport.InitializeRow
If (e.Row.Cells("column1").Value Is "") Then
//Do ur stuff here
End If
End Sub