You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
Hi,
I would like to implement the "en-US" culture in my application.
I think I have seen it somewhere in the docu, can't find it anymore.
Peter
Offline
ReoGrid uses your default culture information which your application uses, you could change it by:
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
If you load a RGF file from file or stream, the culture information is specified in RGF file header, which is decided by your Windows setting. Although it could be modified by using notepad or other text editors, but it is not recommended.
<culture>en-US</culture>
In order to load correctly number formats such float and negative, it is necessary to keep using same culture to save and load a RGF file. In your case, if a non-en-US culture was stored in your RGF file I'd strongly recommend you to change your Windows culture to en-US, or edit RGF file in an English Windows, such as Virtual PC.
Last edited by Jingwood (2014-08-19 11:51:52)
Offline
Pages: 1
Topic closed