I have a grid im populating with values in decimal but loaded in the collection as strings. Can i convert column fields into decimal in realtime or should i convert them to decimal in the collection?
Example below fails becuase
BaseAmount is a string but would like to parse as a decimal so the SUM agrega
<GridAggregates>
<GridAggregate>
<GridAggregateColumns>
<GridAggregateColumn Field="@nameof(TradeResponse.BaseAmount)" Type="AggregateType.Sum" Format="C2">
<FooterTemplate>
@{
var SumValue = (context as AggregateTemplateContext);
<div>
Count: @SumValue.Sum
</div>
}
</FooterTemplate>
</GridAggregateColumn>
</GridAggregateColumns>
</GridAggregate>
</GridAggregates>