Hi Ian,
Thank you for your interest in Syncfusion products.
You need to handle TableControlQueryAllowSortColumn event and a flag variable to turn on or off the image on one header when you click on the another header cell. Please refer the below code for more details.
Private Sub gridGroupingControl1_TableControlQueryAllowSortColumn(ByVal sender As Object, ByVal e As GridQueryAllowSortColumnEventArgs)
If e.Column.Name = "Col0" Then
If flag = 1 Then
flag = 0
Else
flag = 1
End If
End If
End Sub
Private Sub gridGroupingControl1_TableControlCellDrawn(ByVal sender As Object, ByVal e As GridTableControlDrawCellEventArgs)
If flag = 1 Then
Dim style As GridTableCellStyleInfo = TryCast(e.Inner.Style, GridTableCellStyleInfo)
If style.TableCellIdentity.TableCellType = GridTableCellType.ColumnHeaderCell AndAlso style.TableCellIdentity.Column IsNot Nothing AndAlso style.TableCellIdentity.Column.Name = "Col1" Then
GridStaticCellRenderer.DrawImage(e.Inner.Graphics, Me.imageList1, 0, e.Inner.Bounds, False)
End If
End If
End Sub
Here is the minimal sample which implements this task.
http://websamples.syncfusion.com/samples/grid.windows/F74709/main.htmPlease let me know if this helps.
Best Regards,
Srirajan