This is a migrated thread and some comments may be shown as answers.

Applying Currency Format for Cell not by Column

3 Answers 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Guillermo
Top achievements
Rank 1
Guillermo asked on 30 Jul 2010, 08:56 PM
Hi there, is any way to put currency format on a cell depending on another? 
For example In Row 3,5,7 on cell 3 y want to show Euros. In columns 2,4,6 i want to show Dolars depending on cell 4 simbols.

Help me to apply this.

Regards

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 02 Aug 2010, 04:47 PM
Hi Guillermo,

You may try to use Conditional Style/Template Selectors. Utilizing them, you may develop your custom logic and apply definite template/ style to the cell you want. All you need to set is the DataFormatString Property so that it represents either the Dollar or the Euro sign.
You can find more information about Conditional Style Selectors and Conditional Template Selectors in our demos. 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Guillermo
Top achievements
Rank 1
answered on 02 Aug 2010, 08:33 PM
How can i do that programatically. Because I havent got XAML.

Regards
0
Maya
Telerik team
answered on 03 Aug 2010, 06:45 AM
Hi Guillermo,

In this case you may use this blog post as a reference.

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Guillermo
Top achievements
Rank 1
Answers by
Maya
Telerik team
Guillermo
Top achievements
Rank 1
Share this question
or