Hi George,
Thank you for your interest in Syncfusion products.
You could achieve the desired behavior by handling DrawCellDisplayText event of GridControl. See the code:
Private Sub gridControl1_DrawCellDisplayText(ByVal sender As Object, ByVal e As GridDrawCellDisplayTextEventArgs)
If e.RowIndex > 0 AndAlso e.ColIndex =2 Then
Dim rect As Rectangle = e.TextRectangle
Dim g As Graphics = Me.gridControl1.CreateGridGraphics()
GridStaticCellRenderer.DrawText(e.Graphics, e.Style.Text, e.Style.GdipFont, rect, e.Style, e.Style.TextColor, False)
Dim width As Integer = System.Convert.ToInt32((g.MeasureString(e.Style.Text, Me.Font).Width))
rect.Width = width
rect.X = rect.X + width
GridStaticCellRenderer.DrawImage(e.Graphics, Me.imageList1, 0, rect, False)
e.Cancel = True
End If
End Sub
Sample for your reference:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GCTextImage-1661520062.zipPlease let me know if this helps.
Regards,
Jisha