Hello!
I'm trying to enable filtering on a column which is bound to a property of a object whose structure is something like this:
Portfolios:
- PortfolioInformationExtended:
- String
- PortfolioInformationExtended:
- String
- PortfolioInformationExtended:
- String
PortfolioInformationExtended is a sub-class of PortfolioInformation.
I have tried to be diligent in my reading of the documentation and have implemented IComparable<PortfolioInfoExtended>, IEquatable<PortfolioInfoExtended>, IComparable<String>, IEquatable<String> in the PortfolioInfoExtended-class as per instructions here on the forum and in the documentation.
I have successfully gotten the column to group (when I drag the header) but when I try to filter it I get the error message:
"No coercion operator is defined between types 'System.Collections.ObjectModel.ObservableCollection`1[MarketValueWeb.RateServiceReference.PortfolioInfo]' and MIQ.SilverlightExstenstion.Nordkap.PortfolioInfoExtended'.
The DataType property of this column is set to PortfolioInformation, and since the grouping works the operators seem to be working.
I am a bit confused by this and is wondering if I have missed some obvious step, or if everything seem to be in order. Any suggestions on how to proceed?
Thanks in advance!
I'm trying to enable filtering on a column which is bound to a property of a object whose structure is something like this:
Portfolios:
- PortfolioInformationExtended:
- String
- PortfolioInformationExtended:
- String
- PortfolioInformationExtended:
- String
PortfolioInformationExtended is a sub-class of PortfolioInformation.
I have tried to be diligent in my reading of the documentation and have implemented IComparable<PortfolioInfoExtended>, IEquatable<PortfolioInfoExtended>, IComparable<String>, IEquatable<String> in the PortfolioInfoExtended-class as per instructions here on the forum and in the documentation.
I have successfully gotten the column to group (when I drag the header) but when I try to filter it I get the error message:
"No coercion operator is defined between types 'System.Collections.ObjectModel.ObservableCollection`1[MarketValueWeb.RateServiceReference.PortfolioInfo]' and MIQ.SilverlightExstenstion.Nordkap.PortfolioInfoExtended'.
The DataType property of this column is set to PortfolioInformation, and since the grouping works the operators seem to be working.
I am a bit confused by this and is wondering if I have missed some obvious step, or if everything seem to be in order. Any suggestions on how to proceed?
Thanks in advance!