What I am doing is I am writing the sort record function. When users click any one heading of a column, all flexgrid records will be sorted by that specified column.
When I tried this:
If fgInventory.Row = 0 Then
'do sorting here
However, everytime I click on a cell of heading row, it returns row = 1, instead of 0. I just cannot catch the row 0.
So what can I do next?