Skip to content

Commit 98b5ffd

Browse files
authored
docs(pivotgrid): Fix broken code
1 parent 9f2ce78 commit 98b5ffd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/pivotgrid/templates.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ All template components expose an optional `Context` parameter. Set it in scenar
5555
<DataCellTemplate Context="dataCellContext">
5656
@{
5757
var c = (PivotGridDataCellTemplateContext)dataCellContext;
58-
}
58+
5959
if (c.Value != null)
6060
{
61-
@( ((decimal)c.Value).ToString("c2") )
61+
@( ((decimal)c.Value).ToString("C2") )
6262
}
63+
}
6364
</DataCellTemplate>
6465
<RowHeaderTemplate>
6566
@{

0 commit comments

Comments
 (0)