-
ou81aswell said 1 year, 5 months ago:
I have a grid with a single column in it. Each cell can contain multi-line text. I can enter and edit multi-line text properly.
Everything works as expected until I save and then reload the grid to a disk file. To load/save the grid I use:
Grid.SaveGrid(PathToFileToSave, C1.Win.C1FlexGrid.FileFormatEnum.TextTab)
Grid.LoadGrid(PathToFileToSave, C1.Win.C1FlexGrid.FileFormatEnum.TextTab)If I load the grid from file and then edit a cell containing multi-line text, the editor seems to strip away the carriage returns leaving only the line feeds and then presents the text as a single line in the editor. The invisible line feeds are preserved so that when I finish editing the cell, and go back to regular display mode, the cell’s multiple lines are displayed correctly.
So it seems that C1FlexGrid.LoadGrid is stripping carriage returns from multi-line cells leaving only the line feed as the line delimiter and when I try to edit a cell containing multi-line text delimited with a single line-feed, the editor gets confused and displays it as a single line.
I could be getting vbCr and vbLf mixed up here but something is messing with my new-line characters.
Any tips would be appreciated.
| # -
Hello,
It seems a problem to me as well and I have escalated this issue to the developer for review. I would update you as soon as I hear anything from them.
Regards
Ashish| # -
Hello,
The issue is fixed in C1FlexGrid build 2.6.20113.660 available at the following url :
http://prerelease.componentone.com/dotnet20/c1flexgrid/2011-t3/C1FlexGrid.2_2.6.20113.660.zip
http://prerelease.componentone.com/dotnet40/c1flexgrid/2011-t3/C1FlexGrid.4_4.6.20113.660.zip
Thanks,
RichaAnswer| #
You must be logged in to reply to this topic.

