I have a RadGridView with auto column generation on, and the data source is a DataTable whose dimensions are unknown at compile time. I would like to make all decimal fields in the grid use money format, like "$#,##0.00". Notice that I can easily set the FontFamily for text fields. If only I could set a simple "NumericFormat=..." value !!
When the columns are unknown I cannot write XAML to declare nor to format each column. I could use C# code-behind, but what event shall I catch, and which method sets the numeric formatting at the right time? Thanks.
When the columns are unknown I cannot write XAML to declare nor to format each column. I could use C# code-behind, but what event shall I catch, and which method sets the numeric formatting at the right time? Thanks.
<telerik:RadGridView Margin="0,22,0,0" Name="radGridView1" DataLoadMode="Asynchronous" FontFamily="Century Gothic" FontSize="16" AutoExpandGroups="True" AutoGenerateColumns="True" >
</telerik:RadGridView>