KomodoLabs
2012-03-05T23:20:15Z
I was needing to perform sorting in code, but didn't want the user to think they had sorted it. This is in the manual, but may not be obvious, so I thought I'd share.


With iGrid1.SortObject
   .Clear
   .AddItem "MyColumn", igSortAsc, igSortByCellTextNoCase
End With
iGrid1.Sort

'The following hides the header sort icon
iGrid1.ColSortKey("MyColumn") = 0