title: Set image in a cell of Infragistics grid
body: <p>I need to set the image inside a cell of my grid. I have a column which is created in static and the other columns are bounded dynamically from database. With a certain conditions and looping of the dynamic values i have to set a image in the row of the static column. </p>
  
  <p>//Code of static column created</p>
  
  <pre><code> If UltraGridColumn.Tag Is Nothing And UltraGridColumn.Key = "TransactionStatus" Then
  
                          'Configure column
                          UltraGridColumn.CellActivation = If(Me.WorkflowsController.SelectedWorkflow.HasUpdateAccess, Activation.AllowEdit, Activation.ActivateOnly)
                          UltraGridColumn.CellAppearance.BackColor = Color.LightYellow
                          UltraGridColumn.CellAppearance.FontData.Bold = If(Me.WorkflowsController.SelectedWorkflow.HasUpdateAccess, DefaultableBoolean.True, DefaultableBoolean.False)
                          UltraGridColumn.CellAppearance.FontData.Italic = If(Not Me.WorkflowsController.SelectedWorkflow.HasUpdateAccess, DefaultableBoolean.True, DefaultableBoolean.False)
                          UltraGridColumn.ExcludeFromColumnChooser = ExcludeFromColumnChooser.True
                          UltraGridColumn.Header.Caption = "Transaction Status"
                          UltraGridColumn.Header.ToolTipText = "Transaction status."
                          UltraGridColumn.Hidden = False
                          UltraGridColumn.Style = ColumnStyle.DropDownList
                          UltraGridColumn.ValueList = Me.WorkflowsController.StatusesController.StatusesValueList
  End If
  </code></pre>
  
  <p>//Code to set the image</p>
  
  <pre><code>Dim transId = TransactionCommentsCollection.Select(Function(x) x.TransactionId)
                  Dim transLevelId = transId.Intersect(TransactionLevelCommentsCollection.Select(Function(x) x.TransactionId))
                  If (transLevelId.Contains(Record.TransactionId)) Then
                      //Get the corresponding cell here
  
                      'Set the cell image
                      UltraGridCell.Appearance.Image = My.Resources.Tran_comment_16
                      UltraGridCell.Appearance.ImageHAlign = HAlign.Right
                      UltraGridCell.Appearance.ImageVAlign = VAlign.Top
  
                  End If
  </code></pre>
  
  <p>How to get the row and cell of the column created statically and set the image?</p>