Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
Localizing cell display format
posted

I want to localize the cell display format for some currency fields.  I saw the following article and also a similar help topic in the documentaion:

 http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=1931 

My requirement is that each individual cell could have a different currency.  Suppose I'm tracking my investments in different stock markets around the world and recording all my trades in one grid.  Each row would have a different currency/locale depending on which market the trade was placed in.  Format and FormatInfo are available for the whole column and not for each row or a cell. Is there a way I can achieve this kind of formatting? The Knowledge base article's heading is misleading as it talks about localizing "column" display format and not "cell" display format....

Parents
No Data
Reply
  • 37774
    posted

     What I would do is create a new editor control (i.e. UltraCurrencyEditor) for each currency/culture that you will need to support.  You could then assign the EditorControl of an individual cell to use this editor through the InitializeRow event.

    -Matt

Children
No Data