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

SourceFieldType examples?

0 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 14 Oct 2011, 12:20 AM
Hi, 

I can't find a single example of how to set the SourceFieldType in XAML.
All the links in your online documentation fail when I search for this and the forums don't seem to have a real example.

The problem I'm having is that my SumFunction is not recalculating on a Decimal column (money in SQL).
When the grid loads it sums correctly, when moving between records, it does not recalc. I have called CalculateAggregates on RowLoaded event for the grid but still no success.

I was thinking it was because the SourceField and SourceFieldType attributes needed to be set for the GridViewMaskedTextBoxColumn? Does that sound right.

Can you give me an example for a decimal (money in SQL) field type?

Thanks
Simon

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Simon
Top achievements
Rank 1
Share this question
or