I'm trying to calculate a column value using two properties of the DataSource. This is my column:
grid.Column(header:"Duration", format:@<text>@{((TimeSpan)(item.EndTime - item.StartTime)).TotalMilliseconds}</text>)))
I keep getting an HTTPCompileException when I try to navigate to this grid. Why is it unhappy with this?
Needed to remove the {} from the format block.