Posted 8 September 2017, 12:47 pm EST
I am reading in a csv file and then trying to turn column sorting on for each column. The sort indicator appears for each column, but nothing happens if I try and click on the diamond. I have used this feature before when I manually enabled each column using the Spread Designer, and that worked fine. The sheet setting - operational mode is set to "Extended Select".
Here is the code fragment that I am using to read and then enable sorting.
fpSpread1.ActiveSheet.LoadTextFile(openFileDialog1.FileName,true, FarPoint.Win.Spread.Model.IncludeHeaders.None, "\n", ",", "");
for (int i = 0; i < fpSpread1.ActiveSheet.ColumnCount; i++)
Any help would be greatly appreciated.