TTIWAdvWebGrid, LoadFromCSV - not just comma

I have a IWAdvWebGrid, that I use LoadFromCSV.
The file I am loading is meant to be a text file single column, no commas.

What I have found is the advWebGrid seems to be too smart....
1. If there is a DASH (-) in the list this is treated as a column delimiter and the
advWebGrid shows two (2) columns.
2. HOWEVER this only happens if the row is at or near the beginning of the text file.
2.1 that is if the text of string is not near the top than the text file is loaded as desired,
as a single column grid.
example
AB-1
AN-2
AG-3
Apples
Oranges
Banana
WILL CAUSE 2 COLUMNS (AB is in one col and 1 is in the 2nd col and the dash(-) is gone)
but
Apples
Oranges
Banana
AB-1
AN-2
AG-3
WILL RESULTS in 1 COLUMN list as desired.
The text file is raw text, single row, no quotes, no commas.

Please advise and thank you.
Current solution is to massage the text file so the dash-text is not near the beginning of the file....
regards

 

Hi,


Thank you for notifying.
I have been able to reproduce this issue and I'm now investigating how this behavior can be improved.

You can use the Delimiter property to avoid this incorrect behavior.


Example:
  TIWAdvWebGrid1.Delimiter := ',';